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