mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
One more early exit
This commit is contained in:
parent
9e23ec6745
commit
66ecc487a1
@ -12,7 +12,10 @@ if(isset($config['installed']) && $config['installed'] && !isset($_SESSION['save
|
|||||||
}
|
}
|
||||||
|
|
||||||
require SYSTEM . 'init.php';
|
require SYSTEM . 'init.php';
|
||||||
if(!$error) {
|
if($error) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(USE_ACCOUNT_NAME || USE_ACCOUNT_NUMBER)
|
if(USE_ACCOUNT_NAME || USE_ACCOUNT_NUMBER)
|
||||||
$account = isset($_SESSION['var_account']) ? $_SESSION['var_account'] : null;
|
$account = isset($_SESSION['var_account']) ? $_SESSION['var_account'] : null;
|
||||||
else
|
else
|
||||||
@ -187,4 +190,3 @@ if(!$error) {
|
|||||||
if(file_exists(CACHE . 'install.txt')) {
|
if(file_exists(CACHE . 'install.txt')) {
|
||||||
unlink(CACHE . 'install.txt');
|
unlink(CACHE . 'install.txt');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user