Skip to content

Commit

Permalink
Check for admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Jul 25, 2012
1 parent 85a410d commit 9605e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/ajax/appconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

require_once ("../../lib/base.php");
OC_Util::checkAdminUser();
OC_JSON::checkLoggedIn();
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;
Expand Down

0 comments on commit 9605e19

Please sign in to comment.