Skip to content
Snippets Groups Projects
Commit e7a7e3b0 authored by JediKev's avatar JediKev
Browse files

issue: iFrame On Install

This addresses the "Call to getAllowIframes() on NULL" error on installation
pages. This is due to 4781 that introduced the concept of allowing multiple
iFrames, where we are not checking for `$cfg` before calling the method.
This adds a check for `$cfg` so the errors do not occur.
parent 4a0e1bc3
No related branches found
No related tags found
No related merge requests found
<?php
header("Content-Security-Policy: frame-ancestors '".$cfg->getAllowIframes()."';");
if ($cfg)
header("Content-Security-Policy: frame-ancestors '".$cfg->getAllowIframes()."';");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment