summaryrefslogtreecommitdiffstats
path: root/files/ajax/newfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/ajax/newfile.php')
-rw-r--r--files/ajax/newfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ajax/newfile.php b/files/ajax/newfile.php
index 2d1372f06ee..472b577a32a 100644
--- a/files/ajax/newfile.php
+++ b/files/ajax/newfile.php
@@ -1,7 +1,7 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+
OC_JSON::checkLoggedIn();