Remove .env backup change

This commit is contained in:
Hillel Coren 2017-03-30 09:27:07 +03:00
parent 7f25147e97
commit 062ecd540c

View File

@ -192,7 +192,6 @@ class AppController extends BaseController
} }
$filePath = base_path().'/.env'; $filePath = base_path().'/.env';
copy($filePath, $filePath . '.backup.' . time());
$fp = fopen($filePath, 'w'); $fp = fopen($filePath, 'w');
fwrite($fp, $config); fwrite($fp, $config);
fclose($fp); fclose($fp);