Changed unset($USER) to $USER=NULL ... as unset can cause problems with PHP 4.1
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
require("../config.php");
|
||||
|
||||
add_to_log("Logged out");
|
||||
unset($USER);
|
||||
$USER = NULL;
|
||||
redirect($HTTP_REFERER);
|
||||
exit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user