common for php config location code

if (!$config['base_url']) { $domain = $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']; $domain = preg_replace('/index.php.*/', '', $domain); if (!empty($_SERVER['HTTPS'])) { $config['base_url'] = 'https://' . $domain; } else { $config['base_url'] = 'http://' . $domain; } }

Comments

Popular posts from this blog

Off Page SEO

How to Crack FaceBook Social TooLkit & Use Premium Tools for Free