Update pre-update.blade.php

This commit is contained in:
Julian Prieber 2023-05-05 12:53:08 +02:00
parent c77e289da7
commit c34b2a6ea1
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?php <?php
// Runs before updating // Runs before updating
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'));