Quote:
Originally Posted by Selter
Where is the bug???
|
init.php
PHP Code:
if (CWD == '.')
{
// getcwd() failed and so we need to be told the full forum path in config.php
if (!empty($vbulletin->config['Misc']['forumpath']))
{
define('DIR', $vbulletin->config['Misc']['forumpath']);
}
else
{
trigger_error('<strong>Konfigurationsfehler</strong>: Sie muessen in der Datei config.php bei <strong>forumpath</strong> einen Eintrag vornehmen.', E_USER_ERROR);
}
}
else
{
define('DIR', CWD);
}
=> Set CWD properly, eg. full path