src/Terion/PackageInstaller/ConfigUpdater.php
protected function backup()
    {
        $from = $this->configFile;
        $pathinfo = pathinfo($from);
        $to = $pathinfo['dirname'] . DIRECTORY_SEPARATOR . $pathinfo['filename'] . '.bak.php';
        $this->file->copy($from, $to);
    }
protected function backup()
    {
        $from = $this->configFile;
        $pathinfo = pathinfo($from);
        $to = $pathinfo['dirname'] . DIRECTORY_SEPARATOR . $pathinfo['filename'] . '.bak.php';
        $this->file->copy($from, $to);
    }
protected function backup ( ) { $ from = $ this -> configFile ; $ pathinfo = pathinfo ( $ from ) ; $ to = $ pathinfo [ 'dirname' ] . DIRECTORY_SEPARATOR . $ pathinfo [ 'filename' ] . '.bak.php' ; $ this -> file -> copy ( $ from , $ to ) ; }
Backup config file
Backup config file