diff --git a/admin/admin-cli.php b/admin/admin-cli.php index d23da2697d..87bed6fa92 100755 --- a/admin/admin-cli.php +++ b/admin/admin-cli.php @@ -1,4 +1,4 @@ -#!/usr/bin/php -qC +#!/usr/bin/env php test-cli.php must NOT be called as web-page --> exiting !!!'); } +ini_set('apc.enable_cli', true); + require_once dirname(__DIR__).'/api/src/loader/common.php'; $_SERVER['argv'][] = '--verbose'; diff --git a/filemanager/cli.php b/filemanager/cli.php index 67ee86a85a..977c3e519a 100755 --- a/filemanager/cli.php +++ b/filemanager/cli.php @@ -1,4 +1,4 @@ -#!/usr/bin/env php -qC +#!/usr/bin/env php