From e642d18e26f3a6448ac33b2f34341d9b3ee6baae Mon Sep 17 00:00:00 2001
From: Bernhard Posselt <nukeawhale@gmail.com>
Date: Thu, 15 Nov 2012 14:48:06 +0100
Subject: [PATCH] When using routing in apps, no apps are loaded in the left
 navigation tree. To fix this: load apps for matching a request

---
 lib/base.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/base.php b/lib/base.php
index c97700b3db..66d2d40028 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -488,6 +488,7 @@ class OC{
 			return;
 		}
 		try {
+			OC_App::loadApps();
 			OC::getRouter()->match(OC_Request::getPathInfo());
 			return;
 		} catch (Symfony\Component\Routing\Exception\ResourceNotFoundException $e) {
-- 
GitLab