nextcloud/admin/ajax/enableapp.php

10 lines
149 B
PHP

<?php
// Init owncloud
require_once('../../lib/base.php');
header( "Content-Type: application/jsonrequest" );
OC_App::enable($_POST['appid']);
?>