Update install.php (#6853)
* Update install.php Update config directory for windows from www folder to Programdata directory
This commit is contained in:
parent
d002628237
commit
4484c9ad5f
|
|
@ -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"];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue