1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

- files_reader: v1.2.2, fixes incompatibility with Owncloud due to

differences in the way NC and OC encode oc_appconfig (#75)
This commit is contained in:
frankdelange 2018-02-02 12:38:05 +01:00
parent 12dab3e74a
commit 299a895a3d
6 changed files with 16 additions and 10 deletions

View file

@ -15,9 +15,9 @@ 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);
$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);