Posted by samudasu on 02/27/06 05:13
Looking closer at your code i think i spotted the problem. $cssdir
needs to have global scope or else init_styleswitcher() needs an
argument passed to it. In this case init_styleswitcher($cssdir).
If you don't want to add an argument to init_styleswitcher() then you
change get_styles($cssdir); to get_styles($GLOBALS['cssdir']);
Navigation:
[Reply to this message]
|