summaryrefslogtreecommitdiffstats
path: root/lib/private/route/router.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-25 14:04:18 +0100
committerRobin Appelman <icewind@owncloud.com>2014-03-25 14:04:18 +0100
commite1d3d0e9486f8816d9e180b5231e66af7211fba6 (patch)
treea178018e950007f658fddb389847cd5b79c23b6e /lib/private/route/router.php
parentc17f415356ef9a8145de6403cb40af203d6c574e (diff)
downloadnextcloud-server-e1d3d0e9486f8816d9e180b5231e66af7211fba6.tar.gz
nextcloud-server-e1d3d0e9486f8816d9e180b5231e66af7211fba6.zip
fix incorect array
Diffstat (limited to 'lib/private/route/router.php')
-rw-r--r--lib/private/route/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php
index 8b2c9e72f20..a9fad7bc292 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -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();
}