I habe lots of globals used in my version 2.12 and I have lots of modifications.
Now I want to reduce my globals, and here is my question?
How can I use funtions or values like globals, but only in specified scirpts or pages ?
I do not know anything about plugins, but I hope taht there is a way to have some funktions grouped for special needs in special scripts, for example:
- all search related globals are only used in search, search_error and search_results
- all user related globals are only used in user.cgi, login, add and modify
- lastlink is only used in build
Would be glad for any hint...
Thanks, Christian
Now I want to reduce my globals, and here is my question?
How can I use funtions or values like globals, but only in specified scirpts or pages ?
I do not know anything about plugins, but I hope taht there is a way to have some funktions grouped for special needs in special scripts, for example:
- all search related globals are only used in search, search_error and search_results
- all user related globals are only used in user.cgi, login, add and modify
- lastlink is only used in build
Would be glad for any hint...
Thanks, Christian