소스 검색

Moved the redirect to resources/require.php

FusionPBX 2 년 전
부모
커밋
9b1442e0d1
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      index.php

+ 0 - 12
index.php

@@ -28,18 +28,6 @@
 	ini_set("session.cookie_httponly", True);
 	if (!isset($_SESSION)) { session_start(); }
 
-//if config.conf file does not exist then redirect to the install page
-	if (file_exists("/usr/local/etc/fusionpbx/config.conf")) {
-		//BSD
-	}
-	elseif (file_exists("/etc/fusionpbx/config.conf")) {
-		//Linux
-	}
-	else {
-		header("Location: /core/install/install.php");
-		exit;
-	}
-
 //includes files
 	require_once __DIR__ . "/resources/require.php";