mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Create OC_JSON class, for single point of creating json responses. No real logic change, this just cleans up the code a bit.
9 lines
131 B
PHP
9 lines
131 B
PHP
<?php
|
|
|
|
// Init owncloud
|
|
require_once('../../lib/base.php');
|
|
OC_JSON::setContentTypeHeader();
|
|
|
|
OC_App::enable($_POST['appid']);
|
|
|
|
?>
|