fixed domains.php to be php5.3 compatible