Skip to content

Commit 5070ff2

Browse files
committed
Update pre-update.blade.php
1 parent c34b2a6 commit 5070ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22
// Runs before updating
33
4-
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'));
4+
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')));

0 commit comments

Comments
 (0)