diff options
author | Alexandre Roux D'Anzi <alexandre.roux.danzi@lostpod.me> | 2022-01-23 20:39:36 +0300 |
---|---|---|
committer | Alexandre Roux D'Anzi <alexandre.roux.danzi@lostpod.me> | 2022-01-23 20:39:36 +0300 |
commit | 4dea0cc834d98bb80a45575e3096b94be08d1341 (patch) | |
tree | 77894eaa0fd6bd0811ba11cf1a2b09204368e501 /lib | |
parent | cc4a12dca09dc0b9263d92026de1247d5151cbce (diff) |
Carnet is now in an iframe to avoid style conflictsold_main
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Controller/PageController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index e3f758a..e8ee548 100755 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -101,8 +101,7 @@ class PageController extends Controller { 'app_version' => App::getAppInfo($this->appName)['version'], ]; $response = new TemplateResponse($this->appName,"settings", $parameters); - if($this->config->getAppValue('carnet', 'carnetDisplayFullscreen', 'no') === "yes") - $response->renderAs("blank"); + $response->renderAs("blank"); $policy = new ContentSecurityPolicy(); $policy->addAllowedFrameDomain('\'self\''); $response->setContentSecurityPolicy($policy); // allow iframe |