Fix use iframe to embed content

This commit is contained in:
Laurent Destailleur 2018-12-10 19:06:34 +01:00
parent e2a575e547
commit 3c8aa38bf7

View File

@ -76,7 +76,7 @@ if (! empty($keyforcontent))
}
elseif (preg_match('/EXTERNAL_SITE_URL_/', $keyforcontent))
{
print "
/*print "
<html>
<head>
<title>Dolibarr frame for external web site</title>
@ -106,7 +106,8 @@ if (! empty($keyforcontent))
</noframes>
</html>
";
";*/
print '<iframe src="'.$conf->global->$keyforcontent.'"></iframe>';
}
}