]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix incorect array
authorRobin Appelman <icewind@owncloud.com>
Tue, 25 Mar 2014 13:04:18 +0000 (14:04 +0100)
committerRobin Appelman <icewind@owncloud.com>
Tue, 25 Mar 2014 13:04:18 +0000 (14:04 +0100)
lib/private/route/router.php

index 8b2c9e72f2005b83b882e75789d2b48a9b035c12..a9fad7bc292a81bbf9b473c26fd9937d500f40e8 100644 (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();
                        }