source/Core/Config.php
protected function _loadVarsFromFile()
    {
        //config variables from config.inc.php takes priority over the ones loaded from db
        include getShopBasePath() . '/config.inc.php';

        //adding trailing slashes
        $fileUtils = Registry::getUtilsFile();
        $this->sShopDir = $fileUtils->normalizeDir($this->sShopDir);
        $this->sCompileDir = $fileUtils->normalizeDir($this->sCompileDir);
        $this->sShopURL = $fileUtils->normalizeDir($this->sShopURL);
        $this->sSSLShopURL = $fileUtils->normalizeDir($this->sSSLShopURL);
        $this->sAdminSSLURL = $fileUtils->normalizeDir($this->sAdminSSLURL);

        $this->_loadCustomConfig();
    }
protected function _loadVarsFromFile()
    {
        //config variables from config.inc.php takes priority over the ones loaded from db
        include getShopBasePath() . '/config.inc.php';

        //adding trailing slashes
        $fileUtils = Registry::getUtilsFile();
        $this->sShopDir = $fileUtils->normalizeDir($this->sShopDir);
        $this->sCompileDir = $fileUtils->normalizeDir($this->sCompileDir);
        $this->sShopURL = $fileUtils->normalizeDir($this->sShopURL);
        $this->sSSLShopURL = $fileUtils->normalizeDir($this->sSSLShopURL);
        $this->sAdminSSLURL = $fileUtils->normalizeDir($this->sAdminSSLURL);

        $this->_loadCustomConfig();
    }
protected function _loadVarsFromFile ( ) { //config variables from config.inc.php takes priority over the ones loaded from db include getShopBasePath ( ) . '/config.inc.php' ; //adding trailing slashes $ fileUtils = Registry :: getUtilsFile ( ) ; $ this -> sShopDir = $ fileUtils -> normalizeDir ( $ this -> sShopDir ) ; $ this -> sCompileDir = $ fileUtils -> normalizeDir ( $ this -> sCompileDir ) ; $ this -> sShopURL = $ fileUtils -> normalizeDir ( $ this -> sShopURL ) ; $ this -> sSSLShopURL = $ fileUtils -> normalizeDir ( $ this -> sSSLShopURL ) ; $ this -> sAdminSSLURL = $ fileUtils -> normalizeDir ( $ this -> sAdminSSLURL ) ; $ this -> _loadCustomConfig ( ) ; }
Loads vars from default config file
Loads vars from default config file