mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 00:27:49 -04:00
Check if app is enabled
This commit is contained in:
parent
bcd86bfd02
commit
4885a52ba4
3 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue