Skip to content

Commit

Permalink
Fix link to enabling app. Fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghus committed Feb 25, 2014
1 parent eb88ea6 commit 99b9f8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: <strong><a href="%%s?appid=%%s">Enable %%s app</a></strong>');
$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();
Expand Down

0 comments on commit 99b9f8e

Please sign in to comment.