Thanks for the reply...
Quote:
Originally Posted by papaschloss
3) The function datamanager_init() is in the file functions.php. In this file, at line 74, the following call is made:
Code:
require_once(DIR . '/includes/class_dm.php');
|
VB is including class_dm.php in the file functions.php when datamanater_init() is called.
--------------- Added [DATE]1207848468[/DATE] at [TIME]1207848468[/TIME] ---------------
I'm not entirely sure how but I think that somehow I was overwriting the value for DIR in my script, thus causing the problem in functions.php where class_dm.php was being included.
In my script, when I changed this
Code:
define('FORUM_ROOT', $this->config['Misc']['forumpath']);
to this
Code:
define('DIR', $this->config['Misc']['forumpath']);
everything seemed to work fine. Well, so far, so good anyway. :-)