![]() |
Admin phpinclude.
I tried setting variables in 'admin/global.php', only to find they don't work.
Seeing as there is a phpinclude for the root directory, I wondered if someone could hack a phpinclude for the admin directory? I could really find this useful if it's possible. Dave. |
phpinclude is a template, so it would have problem to be called from within hardcoded acp ;)
nevetheless, just create a new template, and copy the part from forum/global.php which includes the php-include into the admin/global.php |
Ahhh, ok. Thanks Xenon :p:).
Dave. |
?
Fatal error: Call to undefined function: gettemplate() in global.php on line 144 When I try to access ./admin/index.php |
be sure you have the gettemplateline AFTER the require functions.php line :)
|
All times are GMT. The time now is 07:05 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:
|