@ -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
$filename = OCP\Util::sanitizeHTML($_GET['file']);
$title = OCP\Util::sanitizeHTML($_GET['name']);