Update pre-update.blade.php
This commit is contained in:
parent
c34b2a6ea1
commit
5070ff2693
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
// Runs before updating
|
||||
|
||||
if(trim(file_get_contents(base_path("version.json"))) < '4.0.0')copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));
|
||||
if(trim(file_get_contents(base_path("version.json"))) < '4.0.0')file_put_contents(base_path('config/advanced-config.php'), file_get_contents(base_path('storage/templates/advanced-config.php')));
|
Loading…
Reference in New Issue