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