summaryrefslogtreecommitdiffstats
path: root/apps/external/ajax/setsites.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/external/ajax/setsites.php')
-rw-r--r--apps/external/ajax/setsites.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/external/ajax/setsites.php b/apps/external/ajax/setsites.php
index 0537b7ea581..3223bf68d9b 100644
--- a/apps/external/ajax/setsites.php
+++ b/apps/external/ajax/setsites.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once('../../../lib/base.php');
+
OC_Util::checkAdminUser();
$sites = array();