Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //if the extensions dir doesn't exist then create it if ($domains_processed == 1) { if (strlen($_SESSION['switch']['extensions']['dir']) > 0) { if (!is_dir($_SESSION['switch']['extensions']['dir'])) { event_socket_mkdir($_SESSION['switch']['extensions']['dir']); } } } ?>