Archived
Corrected redirect bug - fixed request_uri position during checks.
This commit is contained in:
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
header ( "Location: " . substr ( $_SERVER [ 'SCRIPT_NAME' ], 0, -10 ) . "/insert" );
|
||||
exit;
|
||||
}
|
||||
if ( isset ( $request [ 1 ] ) && $request [ 1 ] == "forgot" ) {
|
||||
if ( isset ( $GLOBALS [ 'request_uri' ] [ 1 ] ) && $GLOBALS [ 'request_uri' ] [ 1 ] == "forgot" ) {
|
||||
include ( $config [ 'installation_path' ] . '/lib/php/forgot.php' );
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user