/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Auto-Determine Subdirectory of Install Path, If Any // If Not Present, Will Result in / // e.g. usage $config['base_url'] = "http://". $_SERVER['HTTP_HOST'].$host_url;