mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update the fax-queue config.conf include
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
//check the permission
|
//add the document root to the include path
|
||||||
if (defined('STDIN')) {
|
if (defined('STDIN')) {
|
||||||
//set the include path
|
$config_glob = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE);
|
||||||
$conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE);
|
$conf = parse_ini_file($config_glob[0]);
|
||||||
set_include_path(parse_ini_file($conf[0])['document.root']);
|
set_include_path($conf['document.root']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user