mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Adjust cron/cli scripts in subdir to load required scripts from parent
This commit is contained in:
@@ -91,12 +91,12 @@ if (isset($options['help'])) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (file_exists("config.php")) {
|
||||
include "config.php";
|
||||
if (file_exists("../config.php")) {
|
||||
include "../config.php";
|
||||
}
|
||||
|
||||
include "functions.php";
|
||||
include "database_version.php";
|
||||
include "../functions.php";
|
||||
include "../database_version.php";
|
||||
|
||||
if (!isset($config_enable_setup)) {
|
||||
$config_enable_setup = 1;
|
||||
|
||||
Reference in New Issue
Block a user