mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
osx doesn't mind case.... typo
This commit is contained in:
parent
a015dd4a7d
commit
e05b89b44c
@ -526,7 +526,7 @@ abstract class BaseModel
|
||||
$class_info = new \ReflectionClass($this);
|
||||
// fetch version migrations
|
||||
$versions = array();
|
||||
foreach (glob(dirname($class_info->getFileName())."/migrations/M*.php") as $filename) {
|
||||
foreach (glob(dirname($class_info->getFileName())."/Migrations/M*.php") as $filename) {
|
||||
$version = str_replace('_', '.', explode('.', substr(basename($filename), 1))[0]);
|
||||
$versions[$version] = $filename;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user