mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
patch from develop, IS_CLI fixes
This commit is contained in:
parent
c0dee61add
commit
38294420d5
@ -85,8 +85,10 @@ define('TFS_03', 4);
|
|||||||
define('TFS_FIRST', TFS_02);
|
define('TFS_FIRST', TFS_02);
|
||||||
define('TFS_LAST', TFS_03);
|
define('TFS_LAST', TFS_03);
|
||||||
|
|
||||||
session_save_path(SYSTEM . 'php_sessions');
|
if (!IS_CLI) {
|
||||||
session_start();
|
session_save_path(SYSTEM . 'php_sessions');
|
||||||
|
session_start();
|
||||||
|
}
|
||||||
|
|
||||||
// basedir
|
// basedir
|
||||||
$basedir = '';
|
$basedir = '';
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require __DIR__ . '/../common.php';
|
require __DIR__ . '/../common.php';
|
||||||
echo MYAAC_VERSION;
|
if (IS_CLI) {
|
||||||
|
echo MYAAC_VERSION;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user