Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 3 Jan 2018 23:28:41 +0000 (00:28 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 3 Jan 2018 23:28:41 +0000 (00:28 +0100)
- fixed confusion between framework_base_path and root_base_path

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/factories/stacks/class_FileStackFactory.php
framework/main/classes/template/image/class_ImageTemplateEngine.php

index 4e9512f..8b875c2 100644 (file)
@@ -53,7 +53,7 @@ class FileStackFactory extends ObjectFactory {
        public static final function createFileStackInstance ($prefix, $stackName) {
                // Construct file stack name
                $fileInfoInstance = new SplFileInfo(sprintf('%s%s/%s.%s',
-                       FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('framework_base_path'),
+                       FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('root_base_path'),
                        FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('base_file_stacks_path'),
                        $stackName,
                        FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('file_stacks_extension')
index 637faad..79fab8e 100644 (file)
@@ -479,7 +479,7 @@ class ImageTemplateEngine extends BaseTemplateEngine implements CompileableTempl
        public function getImageCacheFile () {
                // Get the instance ready
                $fileInstance = new SplFileInfo(sprintf('%s%s%s/%s.%s',
-                       $this->getConfigInstance()->getConfigEntry('framework_base_path'),
+                       $this->getConfigInstance()->getConfigEntry('root_base_path'),
                        $this->getGenericBasePath(),
                        'images/_cache',
                        md5(