mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-03 11:29:24 +01:00
Fix ordine di aggiornamento
This commit is contained in:
parent
c18339d549
commit
cc4689d2f6
@ -377,6 +377,7 @@ class Update
|
||||
$previous = [];
|
||||
|
||||
$files = glob($directory.'/*.{php,sql}', GLOB_BRACE);
|
||||
natsort($files);
|
||||
foreach ($files as $file) {
|
||||
$infos = pathinfo($file);
|
||||
$version = str_replace('_', '.', $infos['filename']);
|
||||
|
Loading…
Reference in New Issue
Block a user