From 5ddb8fff68032b3941c63741231bc56181048e66 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 1 Jun 2019 17:28:39 -0600 Subject: [PATCH] Delete install_event_socket.php --- .../page_parts/install_event_socket.php | 138 ------------------ 1 file changed, 138 deletions(-) delete mode 100644 core/install/resources/page_parts/install_event_socket.php diff --git a/core/install/resources/page_parts/install_event_socket.php b/core/install/resources/page_parts/install_event_socket.php deleted file mode 100644 index bf9f2c43c2..0000000000 --- a/core/install/resources/page_parts/install_event_socket.php +++ /dev/null @@ -1,138 +0,0 @@ - - Portions created by the Initial Developer are Copyright (C) 2008-2016 - the Initial Developer. All Rights Reserved. - - Contributor(s): - Matthew Vale -*/ - //fetch the values - require_once "core/install/resources/classes/detect_switch.php"; - $switch_detect = new detect_switch($event_host, $event_port, $event_password); - //$switch_detect->event_port = 2021; - $detect_ok = true; - try { - $switch_detect->detect(); - } catch(Exception $e){ - echo "

Failed to detect configuration detect_switch reported: " . $e->getMessage() ."

\n"; - $detect_ok = false; - } - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo " \n"; - echo " \n"; - echo " "; - - echo "
".$text['header-event_socket']."

"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo " ".$text['label-event_host']."\n"; - echo "\n"; - echo " event_host."\" />\n"; - echo "
\n"; - echo $text['description-event_host']."\n"; - echo "
\n"; - echo " ".$text['label-event_port']."\n"; - echo "\n"; - echo " event_port."\"/>\n"; - echo "
\n"; - echo $text['description-event_port']."\n"; - echo "
\n"; - echo " ".$text['label-event_password']."\n"; - echo "\n"; - echo " event_password."\"/>\n"; - echo "
\n"; - echo $text['description-event_password']."\n"; - echo "
\n"; - echo "
"; - echo "
"; - if($detect_ok){ - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - - $id = 1; - echo "\n"; - echo "\n"; - echo "\n"; - - foreach ($switch_detect->get_dirs() as $folder) - { - if($id % 2 == 0){ echo "\n"; } - echo "\n"; - echo "\n"; - if($id % 2 == 1){ echo "\n"; } - $id++; - } - if($id % 2 == 1){ echo "\n"; } - echo "\n"; - echo "\n"; - echo "\n"; - $id=0; - foreach ($switch_detect->get_vdirs() as $folder) { - if($id % 2 == 0){ echo "\n"; } - echo "\n"; - echo "\n"; - if($id % 2 == 1){ echo "\n"; } - $id++; - } - echo "
".$text['title-detected_configuration']."
\n"; - echo "Switch version\n"; - echo "\n"; - echo " ".$switch_detect->version()."\n"; - echo "
\n"; - echo $folder."\n"; - echo "\n"; - echo " ".$switch_detect->$folder()."\n"; - echo "

".$text['title-assumed_configuration']."
\n"; - echo $folder."\n"; - echo "\n"; - echo " ".$switch_detect->$folder()."\n"; - echo "
"; - } - -?> \ No newline at end of file