Эх сурвалжийг харах

Update index.php (#6862)

Added an option to check Windows ProgramData
jrmcclean 1 жил өмнө
parent
commit
c36104523e

+ 3 - 0
core/dashboard/index.php

@@ -34,6 +34,9 @@
 	elseif (file_exists("/etc/fusionpbx/config.conf")){
 		//Linux
 	}
+	elseif (file_exists(getenv('SystemDrive') . DIRECTORY_SEPARATOR . 'ProgramData' . DIRECTORY_SEPARATOR . 'fusionpbx' . DIRECTORY_SEPARATOR . 'config.conf')) {
+		// Windows
+	} 	
 	else {
 		header("Location: /core/install/install.php");
 		exit;