Commit e05b89b4 authored by Ad Schellevis's avatar Ad Schellevis

osx doesn't mind case.... typo

parent a015dd4a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment