Constants PATH and _DB_TYPE replaced
[shipsimu.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 5652f4fa03001c7363ee453b6f6487eb6daaadbc..061b2f4da45953b8baae6f7db1d548fd3e4fb069 100644 (file)
@@ -281,7 +281,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 
                        // Set the compressor channel
                        $this->setCompressorChannel(CompressorChannel::createCompressorChannel(sprintf("%s%s",
-                               PATH,
+                               $this->getConfigInstance()->readConfig('base_path'),
                                $this->getConfigInstance()->readConfig('compressor_base_path')
                        )));
 
@@ -719,7 +719,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
 
                // Generate FQFN for all application templates
                $fqfn = sprintf("%s%s/%s/%s",
-                       PATH,
+                       $this->getConfigInstance()->readConfig('base_path'),
                        $this->getConfigInstance()->readConfig('application_path'),
                        strtolower($appInstance->getAppShortName()),
                        $this->getConfigInstance()->readConfig('tpl_base_path')