Index: trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php =================================================================== diff -u -N -r4994 -r4995 --- trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 4994) +++ trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 4995) @@ -72,7 +72,7 @@ sid = '".$sid."' AND expire + '".$session_time."' > unix_timestamp()"; } - if ($conn->GetOne($sql) > 0) { + if ($conn->GetOne($sql) > 0) return true; } @@ -84,7 +84,7 @@ if ($Config['validate_type'] == 'user') return ValidateUserSid(); elseif ($Config['validate_type'] == 'admin') - ValidateAdminSid(); + return ValidateAdminSid(); else echo "SESSION Validation FALSE";