> if (is_array($BOLTconfig['skin'])) {#show($BOLTconfig['skin']);
> foreach($BOLTconfig['skin'] as $pn => $skin) {
> if ($pn==$pageLink) $BOLTskin = $skin;
> }
> }
sorry, this should have been without the #show($BOLTconfig['skin']);
if (is_array($BOLTconfig['skin'])) {
foreach($BOLTconfig['skin'] as $pn => $skin) {
if ($pn==$pageLink) $BOLTskin = $skin;
}
}
I have in index.php a little debug function show() to give me
formatted array output:
# debug helper function to echo preformatted array with optional label
function show($arr,$lbl=''){echo "<br /><pre><b>$lbl</b>
";print_r($arr);echo "</pre>";}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---