Fix for bug #68, exit after redirect response when URI parameter is received by index.php
This commit is contained in:
parent
733a10a1c5
commit
2e43cf95b9
@ -120,8 +120,10 @@ if (! $config = check_config($app['config_file'])) {
|
|||||||
$_SESSION[APPCONFIG] = $config;
|
$_SESSION[APPCONFIG] = $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($uri = get_request('URI','GET'))
|
if ($uri = get_request('URI','GET')) {
|
||||||
header(sprintf('Location: cmd.php?%s',base64_decode($uri)));
|
header(sprintf('Location: cmd.php?%s',base64_decode($uri)));
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (! preg_match('/^([0-9]+\.?)+/',app_version())) {
|
if (! preg_match('/^([0-9]+\.?)+/',app_version())) {
|
||||||
system_message(array(
|
system_message(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user