Portions created by the Initial Developer are Copyright (C) 2008-2010 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //remove external from the end of the gateway path if (substr($v_gateways_dir, -8) == "external") { //$v_gateways_dir = substr($v_gateways_dir, 0, (strlen($v_gateways_dir)-9)); //$sql = "update v_domain_settings set "; //$sql .= "v_gateways_dir = '$v_gateways_dir' "; //$sql .= "where domain_uuid = '$domain_uuid'"; //$db->exec($sql); //unset($sql); } //proccess this only one time if ($domains_processed == 1) { //set domains with enabled status of empty or null to true $sql = "update v_domains set domain_enabled = 'true' where domain_enabled = '' or domain_enabled is null"; $db->exec(check_sql($sql)); unset($sql); } ?>