I can't figure out the correct path... Here is my code:
Quote:
error_reporting(E_ALL & ~E_NOTICE & ~8192);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = './forums';
// ============================================
// No Further Editing Necessary!
// ============================================
if ($forumpath)
{
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
}
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
|
On my FTP, it has my website url and directly underneath that is my forums folder, so I figured ./forums is correct... if you go to mywebsite.com/forums it will bring up my forums page (which is really
www.mywebsite.com/forums/forum.php). Can anyone help me figure this out? Sorry for the annoyance! thank you
--------------- Added [DATE]1299731924[/DATE] at [TIME]1299731924[/TIME] ---------------
Really.... No one?
--------------- Added [DATE]1299765918[/DATE] at [TIME]1299765918[/TIME] ---------------
.... Anyone?