2013-01-11 13:18:51 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2013, Lukas Reschke <lukas@statuscode.ch>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
OC_Util::checkAdminUser();
|
|
|
|
OCP\JSON::callCheck();
|
|
|
|
|
|
|
|
OC_Config::setValue( 'forcessl', filter_var($_POST['enforceHTTPS'], FILTER_VALIDATE_BOOLEAN));
|
|
|
|
|
2013-08-18 09:02:08 +00:00
|
|
|
echo 'true';
|