diff options
Diffstat (limited to 'app/fn/fn.php')
-rw-r--r-- | app/fn/fn.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/fn/fn.php b/app/fn/fn.php index 3c7d32c..49db200 100644 --- a/app/fn/fn.php +++ b/app/fn/fn.php @@ -3,7 +3,7 @@ function class_autoloader($class) { - require('.'. DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'class' . DIRECTORY_SEPARATOR . strtolower($class) . '.php'); + require('.'. DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'class' . DIRECTORY_SEPARATOR . strtolower(str_replace('\\', DIRECTORY_SEPARATOR, $class)) . '.php'); } |