2012-06-13 13:54:32 -04:00
|
|
|
<?php
|
2015-03-26 06:44:34 -04:00
|
|
|
/**
|
2016-07-21 10:49:16 -04:00
|
|
|
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
|
|
|
|
*
|
2016-05-26 13:56:05 -04:00
|
|
|
* @author Lukas Reschke <lukas@statuscode.ch>
|
2015-03-26 06:44:34 -04:00
|
|
|
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
2016-07-21 12:13:36 -04:00
|
|
|
* @author Robin Appelman <robin@icewind.nl>
|
2016-01-12 09:02:16 -05:00
|
|
|
* @author Vincent Petry <pvince81@owncloud.com>
|
2015-03-26 06:44:34 -04:00
|
|
|
*
|
|
|
|
|
* @license AGPL-3.0
|
|
|
|
|
*
|
|
|
|
|
* This code is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
|
|
|
* as published by the Free Software Foundation.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
|
*
|
|
|
|
|
*/
|
2018-03-22 08:19:29 -04:00
|
|
|
\OC_JSON::checkAppEnabled('files_external');
|
|
|
|
|
\OC_JSON::checkLoggedIn();
|
|
|
|
|
\OC_JSON::callCheck();
|
2014-08-31 04:05:59 -04:00
|
|
|
$l = \OC::$server->getL10N('files_external');
|
2013-02-12 05:35:16 -05:00
|
|
|
|
2017-03-30 10:08:25 -04:00
|
|
|
// TODO: implement redirect to which storage backend requested this
|