mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-27 10:45:44 +00:00
Change the | to a comma had to review the syntax on the glob command.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
$db = $this->db;
|
||||
|
||||
//get the $apps array from the installed apps from the core and mod directories
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{config|menu}.php");
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{config,menu}.php");
|
||||
$x = 0;
|
||||
foreach ($config_list as &$config_path) {
|
||||
$y = 0;
|
||||
@@ -211,7 +211,7 @@
|
||||
$db->beginTransaction();
|
||||
|
||||
//get the $apps array from the installed apps from the core and mod directories
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{config|menu}.php");
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_{config,menu}.php");
|
||||
$x = 0;
|
||||
foreach ($config_list as &$config_path) {
|
||||
$y = 0;
|
||||
|
||||
Reference in New Issue
Block a user