Bug: Concatenates php (BG 3.0.1)

63 views
Skip to first unread message

Steve

unread,
Dec 4, 2017, 11:07:21 AM12/4/17
to bluegriffon
I have a file named .php, It contains a complete html file with a little embedded php in it consisting of a list of defines:

    <?php 
define("JQLIGHTBOX_CONTAINERBORDERSIZE","10");//configuration_id=2176 - Container Border Size
define("JQLIGHTBOX_CONTAINERRESIZESPEED","300");//configuration_id=2177 - Container Resize Speed
define("JQLIGHTBOX_OVERLAYOPACITY","0.8");//configuration_id=2175 - Overlay Opacity
define("JQLIGHTBOX_OVERLAYBGCOLOR","#000000");//configuration_id=2174 - Overlay Background Color
define("JQLIGHTBOX_STATUS","true");//configuration_id=2172 - Enable JQLightbox
define("JQLIGHTBOX_PAGES","product_info");//configuration_id=2173 - Pages to enable JQLightbox (NOT USED)
define("JQLIGHTBOX_FIXEDNAVIGATION","true");//configuration_id=2178 - Fixed Navigation
include "includes/modules/pages/product_info/jscript_jqlightbox.php";?>
Enter code here...


When I open the file the first time, BG concatenates them.
<?php 
define("JQLIGHTBOX_CONTAINERBORDERSIZE","10");//configuration_id=2176 - Container Border Sizedefine("JQLIGHTBOX_CONTAINERRESIZESPEED","300");//configuration_id=2177 - Container Resize Speed
define("JQLIGHTBOX_OVERLAYOPACITY","0.8");//configuration_id=2175 - Overlay Opacitydefine("JQLIGHTBOX_OVERLAYBGCOLOR","#000000");//configuration_id=2174 - Overlay Background Color
define("JQLIGHTBOX_STATUS","true");//configuration_id=2172 - Enable JQLightboxdefine("JQLIGHTBOX_PAGES","product_info");//configuration_id=2173 - Pages to enable JQLightbox (NOT USED)
define("JQLIGHTBOX_FIXEDNAVIGATION","true");//configuration_id=2178 - Fixed Navigationinclude "includes/modules/pages/product_info/jscript_jqlightbox.php";?>
  
Enter code here...

On the subsequent opening it concatenates them further.
<?php 
define("JQLIGHTBOX_CONTAINERBORDERSIZE","10");//configuration_id=2176 - Container Border Sizedefine("JQLIGHTBOX_CONTAINERRESIZESPEED","300");//configuration_id=2177 - Container Resize Speeddefine("JQLIGHTBOX_OVERLAYOPACITY","0.8");//configuration_id=2175 - Overlay Opacitydefine("JQLIGHTBOX_OVERLAYBGCOLOR","#000000");//configuration_id=2174 - Overlay Background Color
define("JQLIGHTBOX_STATUS","true");//configuration_id=2172 - Enable JQLightboxdefine("JQLIGHTBOX_PAGES","product_info");//configuration_id=2173 - Pages to enable JQLightbox (NOT USED)define("JQLIGHTBOX_FIXEDNAVIGATION","true");//configuration_id=2178 - Fixed Navigationinclude "includes/modules/pages/product_info/jscript_jqlightbox.php";?>
  

If the lines are spaced with a blank line between them, it makes no difference, each subsequent opening concatenates them until it is all on one line.



Reply all
Reply to author
Forward
0 new messages