mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 03:34:41 -04:00
Minz Dispatcher Controllers path
https://github.com/FreshRSS/FreshRSS/pull/1704
This commit is contained in:
1 parent
ccb829418d
commit
425958af5a
1 file changed
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user