Fix ordine di aggiornamento

This commit is contained in:
Thomas Zilio 2019-05-25 11:20:13 -07:00
parent c18339d549
commit cc4689d2f6
1 changed files with 1 additions and 0 deletions

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