1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00
nextcloud-apps/files_reader/personal.php
frankdelange 299a895a3d - files_reader: v1.2.2, fixes incompatibility with Owncloud due to
differences in the way NC and OC encode oc_appconfig (#75)
2018-02-02 12:38:05 +01:00

25 lines
661 B
PHP

<?php
/**
* ownCloud - Files_Reader app
*
* Copyright (c) 2014,2018 Frank de Lange
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Files_Reader;
use OCP\Util;
#$l = \OC::$server->getL10N('files_reader');
$tmpl = new \OCP\Template('files_reader', 'settings-personal');
$EpubEnable = Config::get('epub_enable', 'true');
$PdfEnable = Config::get('pdf_enable', 'true');
$CbxEnable = Config::get('cbx_enable', 'true');
$tmpl->assign('EpubEnable', $EpubEnable);
$tmpl->assign('PdfEnable', $PdfEnable);
$tmpl->assign('CbxEnable', $CbxEnable);
return $tmpl->fetchPage();