diff --git a/common.php b/common.php index 5c5b5a34..bf457efe 100644 --- a/common.php +++ b/common.php @@ -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 = '';