X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ftemplate%2Fclass_;h=1b105d7acfbfae8c147e7f4fb14dea34f0c8d078;hp=488c3c140029ee513eeb4c0c498ea34f25e72c00;hb=a0b468e109a0c6fc0cc5b904b7f118e2c10b3972;hpb=78a010fef84895720e796842208f01dfb619c332 diff --git a/framework/main/classes/template/class_ b/framework/main/classes/template/class_ index 488c3c14..1b105d7a 100644 --- a/framework/main/classes/template/class_ +++ b/framework/main/classes/template/class_ @@ -1,4 +1,10 @@ getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . '/'; + $templateBasePath = $templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . DIRECTORY_SEPARATOR; // Is the base path valid? if (empty($templateBasePath)) { @@ -74,12 +80,10 @@ class ???TemplateEngine extends BaseTemplateEngine implements CompileableTemplat $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('code_template_extension')); // Absolute output path for compiled templates - $templateInstance->setCompileOutputPath($templateInstance->getConfigInstance()->getConfigEntry('base_path') . $templateInstance->getConfigInstance()->getConfigEntry('compile_output_path')); + $templateInstance->setCompileOutputPath($templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $templateInstance->getConfigInstance()->getConfigEntry('compile_output_path')); // Return the prepared instance return $templateInstance; } -} -// [EOF] -?> +}