Skip to content

Commit 3df5874

Browse files
committed
debug: add path logging to bootstrap
1 parent 6895249 commit 3df5874

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@
204204
}
205205

206206
if (!$joomlaLoaded) {
207+
fwrite(STDERR, "DEBUG: joomlaCmsPath='{$joomlaCmsPath}' exists=" . (is_dir($joomlaCmsPath) ? 'yes' : 'no') . PHP_EOL);
208+
fwrite(STDERR, "DEBUG: envPath='" . (getenv('JOOMLA_CMS_PATH') ?: 'unset') . "'" . PHP_EOL);
209+
fwrite(STDERR, "DEBUG: componentRoot='{$componentRoot}'" . PHP_EOL);
207210
fwrite(STDERR, "ERROR: Joomla CMS not found. Set builder.joomla_dir in build.properties" . PHP_EOL);
208211
fwrite(STDERR, " or set JOOMLA_CMS_PATH environment variable." . PHP_EOL);
209212
fwrite(STDERR, " See: https://github.com/Joomla-Bible-Study/Proclaim/wiki/Development-Setup" . PHP_EOL);

0 commit comments

Comments
 (0)