... set database for example1.com } else if ($_SERVER['HTTP_HOST'] == "example2.com") ... AFAIK, you can access $_SERVER in config.php .
確定! 回上一頁