diff --git a/core/dashboard/index.php b/core/dashboard/index.php index ccf06d4eb1..afdfaac4ed 100644 --- a/core/dashboard/index.php +++ b/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;