Skip to content

Commit

Permalink
Fix dd env Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
daaner committed Jul 18, 2020
1 parent 20a1da5 commit abc2448
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ public function writeEnvData($key, $data = null, $new = null)
$envFile = app()->environmentFilePath();
$str = file_get_contents($envFile);
//nit: daan issue#1188
dd($str, $key, $data, $new);
if (is_null($data)) {
$str = preg_replace("/$key=.*/m", "$key=", $str);
file_put_contents($envFile, $str);
Expand Down

0 comments on commit abc2448

Please sign in to comment.