revert shutdown function
This commit is contained in:
parent
f658a3cae1
commit
baa7020036
@ -28,10 +28,12 @@ class Manage extends \Zotlabs\Web\Controller {
|
|||||||
}
|
}
|
||||||
goaway(z_root() . '/manage');
|
goaway(z_root() . '/manage');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($change_channel) {
|
if($change_channel) {
|
||||||
|
|
||||||
$r = change_channel($change_channel);
|
$r = change_channel($change_channel);
|
||||||
|
|
||||||
if((argc() > 2) && !(argv(2) === 'default')) {
|
if((argc() > 2) && !(argv(2) === 'default')) {
|
||||||
goaway(z_root() . '/' . implode('/',array_slice(\App::$argv,2))); // Go to whatever is after /manage/, but with the new channel
|
goaway(z_root() . '/' . implode('/',array_slice(\App::$argv,2))); // Go to whatever is after /manage/, but with the new channel
|
||||||
}
|
}
|
||||||
|
2
boot.php
2
boot.php
@ -1633,7 +1633,7 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
|
|||||||
* @brief Used to end the current process, after saving session state.
|
* @brief Used to end the current process, after saving session state.
|
||||||
*/
|
*/
|
||||||
function killme() {
|
function killme() {
|
||||||
register_shutdown_function('shutdown');
|
// register_shutdown_function('shutdown');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user