arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Classes not included due to GLOB_BRACE not working properly (empty result) #916

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Initial install of FusionPBX (index.php)
2. First two pages work (Username, Password, database)
3. After some seconds error appears (Class 'dialplan' not found)

Screenshot:
http://abload.de/img/include-erroriwub4.png

What version of the product are you using? On what operating system?
Linux OpenWrt 3.18.11 #1 Sat Apr 11 07:55:58 CEST 2015 i686 GNU/Linux
PHP 5.6.7 (cli) (built: Apr 11 2015 00:49:11)
FusionPBX 8211
GNU bash, version 4.3.33(1)-release (i486-openwrt-linux-gnu)
libuClibc-0.9.33.2.so

Please provide any additional information below.
If the 'else' runtime path right below is used/enforced (glob without 
GLOB_BRACE) it works properly. 

Another sanity check for $results!=NULL might fix the problem.

Original issue reported on code.google.com by Ris...@gmail.com on 12 Apr 2015 at 7:56