View Full Version : Admin phpinclude.
Davey
01-28-2003, 12:52 PM
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.
Xenon
01-28-2003, 04:04 PM
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
Davey
01-29-2003, 07:54 AM
Ahhh, ok. Thanks Xenon :p:).
Dave.
Davey
01-29-2003, 10:50 AM
?
Fatal error: Call to undefined function: gettemplate() in global.php on line 144
When I try to access ./admin/index.php
Xenon
01-30-2003, 12:39 PM
be sure you have the gettemplateline AFTER the require functions.php line :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.