Skip to content
Snippets Groups Projects
Commit 4885a52b authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Check if app is enabled

parent bcd86bfd
No related branches found
No related tags found
No related merge requests found
......@@ -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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment