![]() |
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"; 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. |
Method no.1 (SERVER_NAME)
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:46 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:
|