You've already forked OpenShorte.old
Corrected redirect bug - fixed request_uri position during checks.
This commit is contained in:
@@ -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