1
0
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:
Thomas Zilio 2019-05-25 11:20:13 -07:00
parent c18339d549
commit cc4689d2f6

View File

@ -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']);