nextcloud/settings/ajax/enableapp.php

10 lines
131 B
PHP

<?php
// Init owncloud
require_once('../../lib/base.php');
OC_JSON::setContentTypeHeader();
OC_App::enable($_POST['appid']);
?>