The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Ahhh, ok. Thanks Xenon
![]() .Dave. |
|
#4
|
|||
|
|||
|
?
Fatal error: Call to undefined function: gettemplate() in global.php on line 144 When I try to access ./admin/index.php |
|
#5
|
||||
|
||||
|
be sure you have the gettemplateline AFTER the require functions.php line
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|