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

Import, restore, or back up contacts in google

Whatsapp Floating icon in HTML

How to Set FileZilla to Open and Edit Files with Notepad++