Revision 64
Added by stefan about 19 years ago
trunk/wb/modules/news/rss.php | ||
---|---|---|
25 | 25 |
|
26 | 26 |
// Include WB files |
27 | 27 |
require_once('../../config.php'); |
28 |
require_once(WB_PATH.'/framework/class.database.php'); |
|
29 | 28 |
require_once(WB_PATH.'/framework/class.frontend.php'); |
30 | 29 |
$database = new database(); |
31 | 30 |
$wb = new frontend(); |
trunk/wb/index.php | ||
---|---|---|
26 | 26 |
$starttime=microtime(); |
27 | 27 |
|
28 | 28 |
// Include config file |
29 |
require_once('config.php');
|
|
29 |
require_once(dirname(__FILE__).'/config.php');
|
|
30 | 30 |
|
31 | 31 |
// Check if the config file has been set-up |
32 | 32 |
if(!defined('WB_PATH')) { |
Also available in: Unified diff
Fixed a php peculiarity bug ;-)