src/FileJunglist.php
public function copyConfigFiles($installPath)
    {
        $filesystem = new Filesystem;
        $configFiles = array('/config', '/admin/config',);
        foreach ($configFiles as $configFile) {
            $source = $installPath . $configFile . '-dist.php';
            $target = $installPath . $configFile . '.php';
            if ($filesystem->exists($source)) {
                $filesystem->copy($source, $target);
            } else {
                DebugPrinter::log(
                    'File `%s` doesn\'t exist, though i am sure it should',
                    $source
                );
            }
        }
    }
public function copyConfigFiles($installPath)
    {
        $filesystem = new Filesystem;
        $configFiles = array('/config', '/admin/config',);
        foreach ($configFiles as $configFile) {
            $source = $installPath . $configFile . '-dist.php';
            $target = $installPath . $configFile . '.php';
            if ($filesystem->exists($source)) {
                $filesystem->copy($source, $target);
            } else {
                DebugPrinter::log(
                    'File `%s` doesn\'t exist, though i am sure it should',
                    $source
                );
            }
        }
    }
public function copyConfigFiles ( $ installPath ) { $ filesystem = new Filesystem ; $ configFiles = array ( '/config' , '/admin/config' , ) ; foreach ( $ configFiles as $ configFile ) { $ source = $ installPath . $ configFile . '-dist.php' ; $ target = $ installPath . $ configFile . '.php' ; if ( $ filesystem -> exists ( $ source ) ) { $ filesystem -> copy ( $ source , $ target ) ; } else { DebugPrinter :: log ( 'File `%s` doesn\'t exist, though i am sure it should' , $ source ) ; } } }
Copies configuration files from their dists as specified by installation
notes.

@param string $installPath Opencart installation path.

@return void
@since 0.1.0
Copies configuration files from their dists as specified by installation notes .