diff --git a/src/LaraUpdaterController.php b/src/LaraUpdaterController.php index 70dcd01..8ccba08 100644 --- a/src/LaraUpdaterController.php +++ b/src/LaraUpdaterController.php @@ -77,7 +77,7 @@ public function update() $this->setCurrentVersion($last_version_info['version']); //update system version $this->log( trans("laraupdater.INSTALLATION_SUCCESS"), true, 'info' ); - $this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion, true, 'info' ); + $this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion(), true, 'info' ); Artisan::call('up'); // Maintenance mode OFF $this->log( trans("laraupdater.MAINTENANCE_MODE_OFF"), true, 'info' ); @@ -226,6 +226,7 @@ private function backup($filename) { if( !isset($this->tmp_backup_dir) ) $this->tmp_backup_dir = base_path().'/backup_'.date('Ymd'); + $backup_dir = $this->tmp_backup_dir; if ( !is_dir($backup_dir) ) File::makeDirectory($backup_dir, $mode = 0755, true, true); diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index f099d38..f819616 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -29,7 +29,7 @@ class InstalledVersions 'aliases' => array ( ), - 'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af', + 'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf', 'name' => 'pcinaglia/laraupdater', ), 'versions' => @@ -41,7 +41,7 @@ class InstalledVersions 'aliases' => array ( ), - 'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af', + 'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf', ), ), ); diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 96755d7..c47dc99 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -6,7 +6,7 @@ 'aliases' => array ( ), - 'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af', + 'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf', 'name' => 'pcinaglia/laraupdater', ), 'versions' => @@ -18,7 +18,7 @@ 'aliases' => array ( ), - 'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af', + 'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf', ), ), );