We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c77e289 commit c34b2a6Copy full SHA for c34b2a6
resources/views/components/pre-update.blade.php
@@ -1,4 +1,4 @@
1
<?php
2
// Runs before updating
3
4
-if(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')copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));
0 commit comments