![]() |
disable template eval in global.php
Is there a way to disable:
PHP Code:
|
Why you want to do that?
|
I think spacer_open/spacer_close is just bloated code.
It's not necessary -- right now, I don't even use it but it's still being cached. Also, gobutton template is not needed. I prefer adding the input (submit) button directly to the template. Why cache a template for a submit button??? How many characters is that --- 20-30?? |
Then comment those lines out.
|
I'll refer you to the first post ..... "via plugins"
|
You could try unsetting $gobutton etc, in hook 'parse_templates'.
|
doesn't work :(
|
Did you do a global before unsetting?
Anyhow i wouldn't spend 1 minute on this, i really don't see the reason for trying to cut a few bits. |
Make the Tamplates empty, unset the Variables in parse_templates, don't use them - there are many possibilites.
But honestly, I don't think it's worth even thinking about this. |
Quote:
|
All times are GMT. The time now is 11:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|