X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=framework%2Fmain%2Fclasses%2Ftemplate%2Fclass_;h=fbea34b6f3ce938f6f3c663adb975a7a1386b278;hb=8d8cf621bd811811cecd83c65a4ab91f27258e79;hp=52b36f4db906a401b4aba0f35bd5d74681f2059a;hpb=e761a5f979111c410779cc01be38de1cf5d5c327;p=core.git diff --git a/framework/main/classes/template/class_ b/framework/main/classes/template/class_ index 52b36f4d..fbea34b6 100644 --- a/framework/main/classes/template/class_ +++ b/framework/main/classes/template/class_ @@ -3,7 +3,7 @@ namespace CoreFramework\Template\Engine\; // Import framework stuff -use CoreFramework\Template\Engine\BaseTemplateEngine; +use Org\Mxchange\CoreFramework\Template\Engine\BaseTemplateEngine; /** * A ??? template engine class @@ -55,7 +55,7 @@ class ???TemplateEngine extends BaseTemplateEngine implements CompileableTemplat $templateInstance = new ???TemplateEngine(); // Determine base path - $templateBasePath = $templateInstance->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)) { @@ -80,7 +80,7 @@ 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_application_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;