From 276117b2284e101860d221c8fd4a9ad74ef4e2a0 Mon Sep 17 00:00:00 2001 From: Marc Egger <marc.egger@uzh.ch> Date: Wed, 14 Oct 2020 10:41:59 +0200 Subject: [PATCH] debug gitlab CI --- extension/Classes/Core/Store/Config.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extension/Classes/Core/Store/Config.php b/extension/Classes/Core/Store/Config.php index 8714e54e2..66a3e9984 100644 --- a/extension/Classes/Core/Store/Config.php +++ b/extension/Classes/Core/Store/Config.php @@ -80,7 +80,12 @@ class Config { $cwdToConfigFile = $PhpUnitOverloadCwdToConfigFile === '' ? Path::cwdToProject(CONFIG_QFQ_JSON) : $PhpUnitOverloadCwdToConfigFile; if (!file_exists($cwdToConfigFile)) { HelperFile::file_put_contents(Path::cwdToProject(CONFIG_QFQ_JSON_EXAMPLE), json_encode(self::CONFIG_REQUIRED_TEMPLATE, JSON_PRETTY_PRINT)); - Thrower::userFormException("Please create qfq config file '" . CONFIG_QFQ_JSON . "' in project directory. Example config file '" . CONFIG_QFQ_JSON_EXAMPLE . "' was created in project directory.", "Project directory: " . realpath(Path::cwdToProject())); + Thrower::userFormException("Please create qfq config file '" . CONFIG_QFQ_JSON . "' in project directory. Example config file '" . CONFIG_QFQ_JSON_EXAMPLE . "' was created in project directory.", "Project directory: " . realpath(Path::cwdToProject()) + + // DEBUG + . print_r([Path::appToProject(), Path::cwdToProject(), Path::cwdToApp(), Path::cwdToLog(), "cwd" => getcwd(), Path::absoluteApp()],true) + // END DEBUG + ); } $config = HelperFile::json_decode(HelperFile::file_get_contents($cwdToConfigFile)); -- GitLab