Here's the code outside of my PHP functions:
$bgcolor1 = "#000000";
$bgcolor2 = "#FFFF00";
$bgcolor3 = "#CCCC00";
$bgcolor4 = "#FFFF00";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#FFFF00";
$bgimage1 = "themes/CCore/images/barra.gif";
Inside of a function, I localize them like so:
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $bgimage1;
All of those variables localize successfully, EXCEPT for $bgimage1. No matter what I rename the variable to, it's still gets returned as an empty string when I call it inside a function, but as the correct string from outside the function.
Am I missing something obvious here?