Fix execute in CLI

This commit is contained in:
slawkens 2023-02-07 09:45:36 +01:00
parent a846d8a7e7
commit 5747fb5723

View File

@ -105,8 +105,10 @@ const TFS_LAST = TFS_03;
// other definitions // other definitions
const ACCOUNT_NUMBER_LENGTH = 8; const ACCOUNT_NUMBER_LENGTH = 8;
session_save_path(SESSIONS_DIR); if (!IS_CLI) {
session_start(); session_save_path(SESSIONS_DIR);
session_start();
}
// basedir // basedir
$basedir = ''; $basedir = '';