if (VBSEO_REDIRECT_PRIV_EXTERNAL && ($vbseo_url_ == VBSEO_REDIRECT_URI)) { $uredir = urldecode($_GET['redirect']); $uredir = preg_replace('#&(?![a-z0-9\#]+;)#si', '&', $uredir); if (preg_match('#^https?:\/\/#', $uredir) && !preg_match('#["<>]#', $uredir)) { echo '
'; exit; } } if (!VBSEO_ENABLED && preg_match('#^(.*?\.php)/(.*)$#', $vbseo_url_, $vu_match) && file_exists($vu_match[1])) $vbseo_url_ = $vu_match[1]; define('VBSEO_BASEURL', basename($vbseo_url_)); unset($_REQUEST['vbseourl']); unset($_GET['vbseourl']); unset($HTTP_SERVER_VARS['vbseourl']); unset($HTTP_POST_VARS['vbseourl']); unset($HTTP_GET_VARS['vbseourl']); global $g_cache; $g_cache = array('forum' => array(), 'thread' => array(), 'post' => array(), 'user' => array(), 'usernm' => array() );