Confused about setting up the index.php file.
If I want someone to be redirect when they log onto my site to the forum, how would I set up the index.php file below? I am not using a /forum directory. Everything falls under public_html.
If I want someone to be redirect when they log onto my site to the forum, how would I set up the index.php file below? I am not using a /forum directory. Everything falls under public_html.
define('VB_RELATIVE_PATH', 'forum');
// Do not edit anything below //
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}
require('forum.php');
// Do not edit anything below //
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}
require('forum.php');
Comment