Welcome Guest, Not a member yet? Register   Sign In
url problem
#2

[eluser]alaa007[/eluser]
in your config.php file after the
Code:
<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

you can do this
Code:
if ($_SERVER['HTTP_HOST'] == 'example.com') {
    $config['blabla'] = 'blabla';
    .......
}
elseif($_SERVER['HTTP_HOST'] == 'example.net') {
    $config['blabla'] = 'example';
    .....    
}

and so on...
hope it helps you.


Messages In This Thread
url problem - by El Forum - 12-18-2008, 06:53 AM
url problem - by El Forum - 12-18-2008, 07:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB