RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message | ||||
|---|---|---|---|---|---|
|
matt_t_hat Nucleus Geek Joined: 21 Aug 2005 Posts: 1124 Location: UK |
I've come upon a rather odd bit of code in the globalfunctions.php file:
Surely setting a var and then testing it right away is a bit redundant? _________________ Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse |
||||
|
|
|||||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
I think the intention is that if you want to set debug to on, you change just that first line in your snippet and no other coding is needed. The conditional is already in place. _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. Check out my plugins |
||||
|
|
|||||
|
matt_t_hat Nucleus Geek Joined: 21 Aug 2005 Posts: 1124 Location: UK |
In which case this would make more sense to me.
_________________ Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse |
||||
|
|
|||||
|
|
|||||
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|||||