Skip to content
Snippets Groups Projects
Commit 276117b2 authored by Marc Egger's avatar Marc Egger
Browse files

debug gitlab CI

parent 27fc1383
No related branches found
No related tags found
2 merge requests!302Develop,!296Marc: Form/Report As File, Path class, Config class, Typo3 v9 compatability
Pipeline #4003 failed
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment