Check if app is enabled

remotes/origin/stable45
Lukas Reschke 14 years ago
parent bcd86bfd02
commit 4885a52ba4
  1. 1
      apps/impress/documentation.php
  2. 1
      apps/impress/index.php
  3. 1
      apps/impress/player.php

@ -24,6 +24,7 @@
require_once('lib/impress.php');
OCP\User::checkLoggedIn();
OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' );

@ -24,6 +24,7 @@
require_once('lib/impress.php');
OCP\User::checkLoggedIn();
OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' );

@ -25,6 +25,7 @@ require_once('lib/impress.php');
// Check if we are a user
OCP\User::checkLoggedIn();
OCP\JSON::checkAppEnabled('impress');
$filename = OCP\Util::sanitizeHTML($_GET['file']);
$title = OCP\Util::sanitizeHTML($_GET['name']);

Loading…
Cancel
Save