The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Include path, $DOCUMENT_ROOT
A non vb related php question. I have a hoster, and he has different php.ini file configuration, so there are several problems with that. The biggest of them is:
Include paths. Those, who work on the root level, don't work in the folders, that is - on the second level. config.inc.php: Code:
$root = "http://www.complex-systems.ru"; include ("$root/elem/func.inc.php"); include ("$root/elem/lang.inc.php"); I thought $_SERVER["DOCUMENT_ROOT"] could be a good idea, but is seems the promlem has not been solved yet. Do you have an idea or a sollusion. I'm making a CMS tool. |
#2
|
||||
|
||||
Method no.1 (SERVER_NAME)
PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|