From 99b9f8e5d94280d66eaa1bfbccf8c6df83c92075 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 25 Feb 2014 18:14:42 +0100 Subject: [PATCH] Fix link to enabling app. Fix #21 --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index a027a9f..55779b0 100644 --- a/index.php +++ b/index.php @@ -31,10 +31,11 @@ foreach($required_apps as $app) { if(!OCP\App::isEnabled($app['id'])) { $error = (string)$l->t('The %%s app isn\'t enabled! Please enable it here: Enable %%s app'); - $errors[] = sprintf($error, $app['name'],OCP\Util::linkTo('settings', 'apps.php'), $app['id'], $app['name']); + $errors[] = sprintf($error, $app['name'],OC_Helper::linkToRoute('settings_apps'), $app['id'], $app['name']); } } - +//http://localhost/owncloud5/settings/apps?appid=tal +//http://localhost/owncloud5/index.php/settings/apps?installed if(count($errors) == 0) { $categories = OCA\Journal\App::getCategories(); $calendars = array();