mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Whoops, left in some debug lines
This commit is contained in:
parent
ca430ec9b3
commit
c71726c83e
|
@ -136,13 +136,6 @@ class RotateAppKey extends Command
|
|||
*/
|
||||
protected function writeNewEnvironmentFileWith($key)
|
||||
{
|
||||
\Log::debug("here is the key replacement pattern which seems to not be firing: ".$this->keyReplacementPattern());
|
||||
\Log::debug("Here's your current env vile: ".file_get_contents($this->laravel->environmentFilePath()));
|
||||
\Log::debug("And here it is being replaced: ".preg_replace(
|
||||
$this->keyReplacementPattern(),
|
||||
'APP_KEY="'.$key.'"',
|
||||
file_get_contents($this->laravel->environmentFilePath())
|
||||
));
|
||||
file_put_contents($this->laravel->environmentFilePath(), preg_replace(
|
||||
$this->keyReplacementPattern(),
|
||||
'APP_KEY="'.$key.'"',
|
||||
|
|
Loading…
Reference in a new issue