mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-13 04:19:47 +01:00
Fix execute in CLI
This commit is contained in:
@@ -105,8 +105,10 @@ const TFS_LAST = TFS_03;
|
||||
// other definitions
|
||||
const ACCOUNT_NUMBER_LENGTH = 8;
|
||||
|
||||
session_save_path(SESSIONS_DIR);
|
||||
session_start();
|
||||
if (!IS_CLI) {
|
||||
session_save_path(SESSIONS_DIR);
|
||||
session_start();
|
||||
}
|
||||
|
||||
// basedir
|
||||
$basedir = '';
|
||||
|
||||
Reference in New Issue
Block a user