fix incorect array
This commit is contained in:
parent
c17f415356
commit
e1d3d0e948
|
@ -108,7 +108,7 @@ class Router implements IRouter {
|
|||
}
|
||||
$file = \OC_App::getAppPath($app) . '/appinfo/routes.php';
|
||||
if (file_exists($file)) {
|
||||
$routingFiles[$app] = array($file);
|
||||
$routingFiles = array($app => $file);
|
||||
} else {
|
||||
$routingFiles = array();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue