From a804940560bbb482f6e1e8a6c1a88e727ad713ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 4 Jan 2018 00:28:41 +0100 Subject: [PATCH] Continued: - fixed confusion between framework_base_path and root_base_path MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/classes/factories/stacks/class_FileStackFactory.php | 2 +- .../main/classes/template/image/class_ImageTemplateEngine.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/main/classes/factories/stacks/class_FileStackFactory.php b/framework/main/classes/factories/stacks/class_FileStackFactory.php index 4e9512fd..8b875c2a 100644 --- a/framework/main/classes/factories/stacks/class_FileStackFactory.php +++ b/framework/main/classes/factories/stacks/class_FileStackFactory.php @@ -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') diff --git a/framework/main/classes/template/image/class_ImageTemplateEngine.php b/framework/main/classes/template/image/class_ImageTemplateEngine.php index 637faad6..79fab8e5 100644 --- a/framework/main/classes/template/image/class_ImageTemplateEngine.php +++ b/framework/main/classes/template/image/class_ImageTemplateEngine.php @@ -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( -- 2.30.2