Merge pull request #69 from RoyChaudhuri/master
Fix for bug #68, long redirect response
This commit is contained in:
commit
6a55d808a2
@ -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