Hi,
Just some information if you want to integrate the "load_wl2.php" as an include.
because I'm changing some webpages, I decided to integrate "load_wl2.php" in a page and not to use the standalone version anymore.
Because I try no to use the HTML <iframe> tag, I decided to use the PHP "include" statement.
First thing I did is :
$wl_standalone = false; // true = include enclosing html head
// false= only the div and table
Then a in my "wxwl2.php" page :
<div id="main-copy">
<br/>
<?php
include("load_wl2.php");
?>
</div><!-- end main-copy -->
<?php
############################################################################
include("footer.php");
############################################################################
Result was a html page that stopped after the "load_wl2.php" script, my "footer.php" was not executed
After some "research" I found in "load_wl2.php" line 498 -501 :
if (!isset ($wl_standalone) || $wl_standalone == true) {
echo '</body>
</html>'.PHP_EOL;}
exit;
I changed this to the code hereunder, in that case the "exit" statement would only be executed for the "non standalone"
if (!isset ($wl_standalone) || $wl_standalone == true) {
echo '</body>
</html>'.PHP_EOL; exit;}
Now it's ok, I hope this is the correct way to do it otherwise let me know please.
Thanks