fix incorect array

This commit is contained in:
Robin Appelman 2014-03-25 14:04:18 +01:00
parent c17f415356
commit e1d3d0e948
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}