We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c93dc commit 1b27017Copy full SHA for 1b27017
ActiveRecord.php
@@ -40,11 +40,11 @@ function activerecord_autoload($class_name)
40
foreach ($namespaces as $directory)
41
$directories[] = $directory;
42
43
- $root .= DIRECTORY_SEPARATOR . implode($directories, DIRECTORY_SEPARATOR);
+ $root .= DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $directories);
44
}
45
46
$file = "$root/$class_name.php";
47
48
if (file_exists($file))
49
require_once $file;
50
-}
+}
0 commit comments