mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update install.php (#6853)
* Update install.php Update config directory for windows from www folder to Programdata directory
This commit is contained in:
@@ -66,8 +66,8 @@ if (!class_exists('install')) {
|
||||
$cache_location = '/var/cache/fusionpbx';
|
||||
break;
|
||||
case "WIN":
|
||||
$config_path = $_SERVER["DOCUMENT_ROOT"].DIRECTORY_SEPARATOR.'resources';
|
||||
$config_file = $config_path.DIRECTORY_SEPARATOR.'config.conf';
|
||||
$system_drive = getenv('SystemDrive');
|
||||
$config_path = $system_drive . DIRECTORY_SEPARATOR . 'ProgramData' . DIRECTORY_SEPARATOR . 'fusionpbx' ;
|
||||
$config_file = $config_path.DIRECTORY_SEPARATOR.'config.conf';
|
||||
$document_root = $_SERVER["DOCUMENT_ROOT"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user