|
@@ -1426,7 +1426,7 @@ class gMtzConsole {
|
|
|
$template = gMtzRuntime::ReadFile(kDefaultSkinPath . kSlash . 'template.xhtml');
|
|
|
$stylesheet = gMtzRuntime::ReadFile(kDefaultSkinPath . kSlash . 'stylesheet.css');
|
|
|
|
|
|
- if (!$template) {
|
|
|
+ if (!$template || SAPI_IS_CLI) {
|
|
|
gMtzConsole::Output(['content' => $aContent, 'title' => $aMetadata['title'] ?? 'Output']);
|
|
|
}
|
|
|
|