Phrozn/Config.php
public function updatePaths()
    {
        if (isset($this->configs['paths'])) {
            $paths = Loader::getInstance()->getPaths();
            foreach ($this->configs['paths'] as $key => $file) {
                $file = str_replace('@PEAR-DIR@', $paths['php_dir'], $file);
                $file = str_replace('@DATA-DIR@', $paths['data_dir'], $file);
                $this->configs['paths'][$key] = $file;
            }
        }
        return $this;
    }
public function updatePaths()
    {
        if (isset($this->configs['paths'])) {
            $paths = Loader::getInstance()->getPaths();
            foreach ($this->configs['paths'] as $key => $file) {
                $file = str_replace('@PEAR-DIR@', $paths['php_dir'], $file);
                $file = str_replace('@DATA-DIR@', $paths['data_dir'], $file);
                $this->configs['paths'][$key] = $file;
            }
        }
        return $this;
    }
public function updatePaths ( ) { if ( isset ( $ this -> configs [ 'paths' ] ) ) { $ paths = Loader :: getInstance ( ) -> getPaths ( ) ; foreach ( $ this -> configs [ 'paths' ] as $ key => $ file ) { $ file = str_replace ( '@PEAR-DIR@' , $ paths [ 'php_dir' ] , $ file ) ; $ file = str_replace ( '@DATA-DIR@' , $ paths [ 'data_dir' ] , $ file ) ; $ this -> configs [ 'paths' ] [ $ key ] = $ file ; } } return $ this ; }
Make sure that absolute application path is prepended to config paths

@return \Phrozn\Config
Make sure that absolute application path is prepended to config paths