Commit Graph

21 Commits

Author SHA1 Message Date
FusionPBX
6b063f2c28 Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
2025-12-08 14:12:19 -07:00
FusionPBX
76e2e7d3b7 Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
Alex
1e96df6e95 Change $setting to $settings (#7318)
* Change $setting to $settings

* Update app_defaults.php

* Update fax_queue.php

* Update xml_cdr.php

* Update email_queue.php

* Update transcribe.php

* Update send.php

* Update fax_queue.php

* Update fax_send.php

* Update app_defaults.php

* Update email_queue.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php
2025-03-14 16:19:49 -06:00
FusionPBX
cd8d5302ac Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX
cd1cc70044 Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX
c6d966395e Use settings class for app_defaults.php 2023-09-16 00:22:12 -06:00
markjcrane
a9bd6cbc9a Update the to point to app/switch/resources/conf 2023-06-26 13:37:08 -06:00
markjcrane
f63010d915 Fix new install loading music on hold 2023-06-14 15:00:28 -06:00
FusionPBX
67be72b452 Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
Nate
60d141a82e Music on Hold: Database class integration. 2019-08-09 11:42:43 -06:00
FusionPBX
fa13e54f44 Update app_defaults.php 2017-01-10 00:58:42 -07:00
FusionPBX
cb802980c8 Update app_defaults.php 2017-01-10 00:36:43 -07:00
FusionPBX
64005da489 Update app_defaults.php
Fix the file renaming for local_stream.conf.xml and .noload
2016-08-22 20:04:23 -06:00
FusionPBX
0e0d8455cd Update app_defaults.php 2016-08-03 18:49:26 -06:00
FusionPBX
60ad3b448a Update app_defaults.php
Make the music on hold app defaults more better at loading the xml file if the music on hold table is empty.
2016-08-03 18:47:02 -06:00
FusionPBX
666ccddb34 Update app_defaults.php
Music on hold import from XML strip the domain name and rate from the name.
2016-07-08 10:32:56 -06:00
reliberate
5f60d5c896 Music on Hold: Update app_defaults to use db field music_on_hold_timer_name instead; reflective of the MOH changes just committed. 2016-06-21 16:06:09 -06:00
FusionPBX
dccb0e5dc4 Update app_defaults.php
Ensure the values are reset after each loop through local_stream.con.xml attributes.
2016-06-14 11:06:29 -06:00
markjcrane
f20b16b27a Add the missing curly brackets. 2016-06-13 17:52:35 -06:00
markjcrane
6a58bb97dd Update app_defaults for muisc on hold so it reads local_stream.conf.xml and loads the information in the database. Remove music_on_hold_category. 2016-06-13 17:44:15 -06:00
Mafoo
b8e3070cdc Added basic searching for moh (#1614)
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00