From 4e1c4979d9446be1820784de72753ec266d28dc6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 1 Jun 2019 17:31:27 -0600 Subject: [PATCH] Delete index.php --- core/install/index.php | 83 ------------------------------------------ 1 file changed, 83 deletions(-) delete mode 100644 core/install/index.php diff --git a/core/install/index.php b/core/install/index.php deleted file mode 100644 index 71b8a8aa8a..0000000000 --- a/core/install/index.php +++ /dev/null @@ -1,83 +0,0 @@ - - Portions created by the Initial Developer are Copyright (C) 2008-2012 - the Initial Developer. All Rights Reserved. - - Contributor(s): - Mark J Crane - Matthew Vale -*/ -require_once "root.php"; -require_once "resources/require.php"; -require_once "resources/check_auth.php"; - -//detect install state -$install_enabled = true; -if (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) { - $install_enabled = false; -} elseif (file_exists("/etc/fusionpbx/config.php")) { - //linux - $install_enabled = false; -} elseif (file_exists("/usr/local/etc/fusionpbx/config.php")) { - $install_enabled = false; -} - -if($install_enabled) { - header("Location: ".PROJECT_PATH."/core/install/install.php"); - exit; -} -require_once "resources/check_auth.php"; -if (!if_group("superadmin")) { - echo "access denied"; - exit; -} - -//add multi-lingual support - $language = new text; - $text = $language->get(); - -//includes and title - require_once "resources/header.php"; - $document['title'] = $text['title-install']; - - echo "".$text['header-install'].""; - echo "

"; - echo $text['description-install']; - echo "

"; - - echo "
\n"; - echo "\n"; - echo "\n"; - echo " \n"; - echo " \n"; - echo "\n"; - echo "
\n"; - echo " "; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - -//include the footer - require_once "resources/footer.php"; - -?> \ No newline at end of file