projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5312c81
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Dec 2013 07:43:08 +0000
(15:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Dec 2013 07:43:08 +0000
(15:43 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
c22b473
..
b53eb20
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-336,7
+336,7
@@
class Pman_Core_UpdateDatabase extends Pman
echo "scan : $dir\n";
$files = glob($dir.'/*.sql');
-
sort($files
);
+
uksort($files, 'strcasecmp'
);
//$lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
//usort($files, $lsort);