LinkStack/resources/views/components/pre-update.blade.php
Julian Prieber c1a47556f5 Make Block System Modular
The block system now works off a basic modularity/expansion principle where users can add their own blocks
2024-06-20 12:24:54 +02:00

13 lines
388 B
PHP

<?php // Runs before updating
if(trim(file_get_contents(base_path("version.json"))) < '4.0.0'){
try {
$file = base_path('storage/RSTAC');
if (!file_exists($file)) {
$handleFile = fopen($file, 'w');
fclose($handleFile);
}
} catch (Exception $e) {}
}
?>
{{-- update links table to new structure --}}
@include('components.updater.links-table-translation-layer')