im not working in the same folder, and its not supposed to be logged in.
Im working form a other subdomain.
PHP Code:
<?php
chdir('/home/egconline/domains/egc-online.com/public_html/forum');
include ('./global.php');
require_once (DIR . '/includes/class_bbcode.php');
chdir('/home/egconline/domains/egc-online.com/public_html/v2');
function maintext()
{
$bbcode_parser = &new vB_BbCodeParser($vbulletin, fetch_tag_list());
$text = viewrules(2322);
$html = $bbcode_parser->do_parse($text);
echo $html;
}
include ("template.php");
?>
gives the same problem