Commit Graph

36 Commits

Author SHA1 Message Date
FusionPBX eb7a05ea45 Update domains.php 2016-09-10 17:33:47 -06:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane 9dac571bdb Use intuitive names for the arrays and move one of the queries out of the loop. 2016-04-15 00:47:49 -06:00
markjcrane 4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane 45c391ab76 Update domains and schema classes. 2016-04-14 22:10:47 -06:00
markjcrane 4fa0649eba Only call the scripts class if its installed. 2016-03-27 00:33:19 -06:00
markjcrane 9249e1db9a On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH. 2016-03-24 15:02:04 -06:00
markjcrane 16abb2849f Remove the domain name from the switch recordings SESSION variable. The path for single and multi-tenant are handled the same and all will used their domain name. 2015-12-06 12:36:08 -07:00
Matthew Vale 96a22b5321 made reference to install resource literal 2015-12-02 16:07:23 +00:00
markjcrane 1691c3e5f0 Use the new config class in the domains and schema classes. 2015-11-27 19:59:50 -07:00
Mark Crane 57ceca4590 Account for the fact that mb_strtolower is not always available. 2015-06-01 04:54:21 +00:00
Mark Crane fc06cb3661 More work to make domain names case insensitive. 2015-05-30 20:59:11 +00:00
Mark Crane dd9ade256f Update release to fix big for systems where GLOB_BRACE is not available. 2015-05-13 04:37:36 +00:00
Nate Jones fe8032b1c3 Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well. 2015-05-12 18:11:05 +00:00
Nate Jones 3e53a658b2 Default Settings: Fix set() function in domains class to first clear ALL default/domain settings, then only load settings that are currently enabled. 2015-05-01 12:14:52 +00:00
Mark Crane cd3d93a1fd Get a new set of default and domain settings for use when http_domain_filter is set to false. Remove debug numbers from access denied messages in provisioning and remove other redundant code. 2015-03-28 11:37:56 +00:00
Mark Crane 83eca7ae8a A little more work to get rid of the default context. 2015-03-10 10:47:25 +00:00
Mark Crane d34fbd1063 Need to add GLOB_BRACE to support the {menu,config} 2014-12-27 17:30:07 +00:00
Mark Crane 4c69bd1cde Change the | to a comma had to review the syntax on the glob command. 2014-12-27 17:28:07 +00:00
Mark Crane 1cfaaf0a4b Add a check for domain_uuid session. 2014-10-17 22:59:47 +00:00
Mark Crane e38879deb4 Fix the domain array settings 2014-08-09 16:32:52 +00:00
Mark Crane ce5288bc60 Cleanup previous default settings 2014-08-09 16:05:03 +00:00
Mark Crane 33a0f6150d Get the domain settings only if the domain_uuid has a value 2014-07-25 09:08:51 +00:00
Mark Crane d734558a37 Change the logic a little more for the smooth fall back 2014-07-25 01:38:17 +00:00
Mark Crane c175d257f0 Make the setting order with a try catch to make the upgrade smoother 2014-07-25 01:32:36 +00:00
Mark Crane f8ba6a18d8 Add default,domain, and user settings 2014-07-25 00:43:15 +00:00
Mark Crane 5c37eeb977 Remove the string length requirement on the domain_settings 2014-07-22 18:26:02 +00:00
Mark Crane 181e2881c0 Make the domain and schema work with the PHP classes 2014-07-16 04:30:49 +00:00
Mark Crane 4fd34d1c80 Add globals needed by the app defaults in domains upgrade method. 2014-07-15 17:49:28 +00:00
Mark Crane c7abde93dd Add to the schema class and adjust the db connection obect in the domains class 2014-07-15 07:58:01 +00:00
Mark Crane f85f1bca5d Move domain upgrade into the domain class and upgrade_schema into the schema class 2014-07-15 05:46:15 +00:00
Mark Crane 2070de705e Fix the menu and labels when switching domains in certain circumstances 2014-06-10 20:04:14 +00:00
Mark Crane 0b93629a3c Fix the user setting so they work. User settings need to be set after login 2014-05-12 23:30:26 +00:00
Mark Crane d4cb446b3e Add the uuid to the SESSion array. 2014-03-21 23:49:26 +00:00
Mark Crane 3aa617ded7 Move the class files from includes to the resources directory. 2013-07-06 07:16:58 +00:00