private function backup()
    {
        if (! $this->disk->exists(storage_path('langmanGUI'))) {
            $this->disk->makeDirectory(storage_path('langmanGUI'));

            $this->disk->put(storage_path('langmanGUI'.'/.gitignore'), "*\n!.gitignore");
        }

        $this->disk->copyDirectory(resource_path('lang'), storage_path('langmanGUI/'.time()));
    }
private function backup()
    {
        if (! $this->disk->exists(storage_path('langmanGUI'))) {
            $this->disk->makeDirectory(storage_path('langmanGUI'));

            $this->disk->put(storage_path('langmanGUI'.'/.gitignore'), "*\n!.gitignore");
        }

        $this->disk->copyDirectory(resource_path('lang'), storage_path('langmanGUI/'.time()));
    }
private function backup ( ) { if ( ! $ this -> disk -> exists ( storage_path ( 'langmanGUI' ) ) ) { $ this -> disk -> makeDirectory ( storage_path ( 'langmanGUI' ) ) ; $ this -> disk -> put ( storage_path ( 'langmanGUI' . '/.gitignore' ) , "*\n!.gitignore" ) ; } $ this -> disk -> copyDirectory ( resource_path ( 'lang' ) , storage_path ( 'langmanGUI/' . time ( ) ) ) ; }
Backup the existing translation files
Backup the existing translation files