diff options
| author | 2017-12-16 22:33:49 +0100 | |
|---|---|---|
| committer | 2017-12-16 22:33:49 +0100 | |
| commit | 425958af5a2d64113ad352e983cd810bc829735e (patch) | |
| tree | 482c98ab4ab125992e69fa301d16701e4640e80b /lib | |
| parent | ccb829418d25af49d129ac227b0cbd09c085b8a3 (diff) | |
Minz Dispatcher Controllers path
https://github.com/FreshRSS/FreshRSS/pull/1704
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Dispatcher.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Minz/Dispatcher.php b/lib/Minz/Dispatcher.php index bdb1c76f6..f05b285b5 100644 --- a/lib/Minz/Dispatcher.php +++ b/lib/Minz/Dispatcher.php @@ -10,7 +10,6 @@ * C'est un singleton */ class Minz_Dispatcher { - const CONTROLLERS_PATH_NAME = '/Controllers'; /* singleton */ private static $instance = null; @@ -149,7 +148,7 @@ class Minz_Dispatcher { */ private static function loadController($base_name) { $base_path = self::$registrations[$base_name]; - $controller_filename = $base_path . '/controllers/' . $base_name . 'Controller.php'; + $controller_filename = $base_path . '/Controllers/' . $base_name . 'Controller.php'; include_once $controller_filename; } |
