Update pre-update.blade.php

This commit is contained in:
Julian Prieber 2023-05-01 12:49:41 +02:00
parent 45279b092d
commit 9f8a5050d3
1 changed files with 4 additions and 1 deletions

View File

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