Now if you are not loget in you can no see this page and you get login from but when you test to log in you get this
http://www.yoursite.com/login.php and i want it to go like this
http://www.yoursite.com/forum/login.php how do this ?????
PHP Code:
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'staff'); // change this depending on your filename
define('VBA_PORTAL', true);
// ============================================
// Enter the full path to your forum here
// Example: /home/yoursite/public_html/forum
// ============================================
chdir('/home/xxxxxx/public_html/forum');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'forum_staff',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
if ($bbuserinfo['userid'] == 0)
{
print_no_permission();
}
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
if (empty($_REQUEST['do']))
{
$_REQUEST['do'] = 'staff';
}
// #############################################################################
// draw navbar
$navbits = array();
$navbits[$parent] = 'Staff';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// #############################################################################
// output page
eval('print_output("' . fetch_template('forum_staff') . '");');