richdocuments/settings.php

22 lines
490 B
PHP
Raw Normal View History

2013-08-18 12:54:57 +03:00
<?php
/**
2013-08-28 12:02:27 +02:00
* ownCloud - Documents App
2013-08-18 12:54:57 +03:00
*
* @author Victor Dubiniuk
* @copyright 2013 Victor Dubiniuk victor.dubiniuk@gmail.com
*
* This file is licensed under the Affero General Public License version 3 or
* later.
*/
2013-08-28 12:02:27 +02:00
namespace OCA\Documents;
2013-08-18 12:54:57 +03:00
2013-08-28 12:02:27 +02:00
\OCP\Util::addScript('documents', 'settings');
2013-08-28 12:02:27 +02:00
$tmpl = new \OCP\Template('documents', 'settings');
$unstable = \OCP\Config::getAppValue('documents', 'unstable', 'false');
$tmpl->assign('unstable', $unstable);
return $tmpl->fetchPage();