summaryrefslogtreecommitdiffstats
path: root/settings/ajax/enableapp.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-13 04:04:48 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-13 05:13:34 +0200
commit4a5ee765cf5030c7d92d88687e886079f6bafb1e (patch)
tree0b87acdf2f21f56dc1b97b063121899f3cae87bc /settings/ajax/enableapp.php
parent67156f87e3757fbd5e692e7d6b2209cfafc6c3cf (diff)
downloadnextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.tar.gz
nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.zip
merged admin, help and settings to settings
Diffstat (limited to 'settings/ajax/enableapp.php')
-rw-r--r--settings/ajax/enableapp.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
new file mode 100644
index 00000000000..eb1bfc54a04
--- /dev/null
+++ b/settings/ajax/enableapp.php
@@ -0,0 +1,9 @@
+<?php
+
+// Init owncloud
+require_once('../../lib/base.php');
+header( "Content-Type: application/jsonrequest" );
+
+OC_App::enable($_POST['appid']);
+
+?>