frytimo
7630056bb8
Remove the unset($database) statements ( #7084 )
...
* Remove the unset($database) statements
The database object is a global variable that contains a database object reference and should not be unset.
* Update event_guard.php
* Update event_guard.php
* Update event_guard.php
---------
Co-authored-by: Tim Fry <tim@fusionpbx.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2024-08-06 13:19:45 -06:00
FusionPBX
b05c0534b4
Send the database object into the function
2024-08-05 16:56:51 -06:00
FusionPBX
dbe37f275b
Update app_defaults.php
2024-08-05 15:55:08 -06: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
FusionPBX
39c81b60c4
Update the path to the conf directory
2023-06-26 10:02:14 -06:00
markjcrane
6e1cfb0354
The db handle is no longer needed for this function
2023-06-24 09:37:42 -06:00
markjcrane
56068684ff
Convert base64 description in vars to text
2023-05-27 13:30:07 -06:00
markjcrane
6d7e125743
Fix all PHP 8.1 messages for upgrade.php
2023-05-17 10:07:49 -06:00
Luis Daniel Lucio Quiroz
945ff01553
Update app_defaults.php ( #6577 )
2023-03-24 20:07:16 -06:00
FusionPBX
ed107606d3
Deprecated no longer needed.
2022-09-22 11:38:39 -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
c660b27096
Misc: Database class integration.
2019-08-28 21:02:08 -06:00
Nate
318bfc61f2
Variables: Database class integration.
2019-08-14 13:38:18 -06:00
FusionPBX
468740c72d
Update app_defaults.php
2018-03-25 11:47:32 -06:00
FusionPBX
fce633265d
Update app_defaults.php
2018-03-25 11:43:25 -06:00
FusionPBX
1a51c3855c
Update app_defaults.php
2017-07-09 23:52:34 -06:00
FusionPBX
721549f4c1
Update app_defaults.php
...
Fix a sql error for ringtones.
2017-01-05 02:10:26 -07:00
FusionPBX
05abcac517
Update app_defaults.php
...
Change the cert directory from ssl to tls to match what FreeSWITCH is using by default.
2016-10-14 09:18:42 -06:00
Mafoo
097a09536e
Enhance Add Tones ( #1857 )
...
Add tone support
2016-09-03 20:32:19 -06:00
Mafoo
1c983a69a0
BugFix-Vars ( #1818 )
...
corrected the system default us-ring category to 'Ringtones'
remove var_name like as var_cat now takes care of this
2016-08-25 11:12:00 -06:00
Mafoo
a3e4a1d2a7
Enhance-Import rintones from vars.xml ( #1813 )
...
move ringtones to thier own category
import ringtones from vars.xml
2016-08-16 08:49:45 -06:00
markjcrane
102120d55e
Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation.
2016-06-01 15:31:33 -06:00
FusionPBX
0cca642562
Update app_defaults.php
...
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX
8220f74cc5
Update app_defaults.php
...
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane
097a5d8ade
Check the missing array has content before processing it.
2016-05-04 00:22:35 -06:00
mafoo
6eed9935d4
WhitespaceClean-app/batch_2
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
Matthew Vale
18c7a500b7
Bugfix
2015-11-19 14:57:47 +00:00
Matthew Vale
850a1af0c0
Added more ringer types
...
corrected reference to ssl dir to use $conf_dir
moved countries list out to its own file so it can be maintained easier
(and used by other apps)
2015-11-19 14:54:04 +00:00
markjcrane
fda7add887
Remove trailing spaces and adjust the vertical spacing.
2015-07-08 09:30:00 -03:00
Mark Crane
674b52e74b
Change the domain to the $${local_ip_v4}
2014-12-10 05:12:12 +00:00
Riccardo Granchi
2cf20d8f7a
Engineered the management of bridge failures in local extension, with optional variables which by default provides the standard behavior. Changed the default order for extension_queue, which has *800 prefix, before the extension-intercom, which has the *8 prefix
2014-11-21 15:38:26 +00:00
Riccardo Granchi
48d08f4685
Fixed set_country_vars() duplicate declaration issue during domain creation
2014-11-07 15:21:34 +00:00
Riccardo Granchi
1ac8d1c7fc
Possibilty to select a country in installation phase to set default country code variables
2014-11-07 10:22:56 +00:00
Riccardo Granchi
3c43f604c5
Added it-ring definition
2014-11-03 11:16:10 +00:00
Nate Jones
1920209c1c
Variables: Added record_ext variable to set recording file type (wav, mp3).
2014-09-09 05:32:04 +00:00
Mark Crane
d742f190f1
Fix and move the format_phone array
2014-08-31 00:57:58 +00:00
Mark Crane
7d366185c7
Fix system -> variables if you did a recent install and the variables page has 2 items on it delete them, update the source, run upgrade -> app defaults to get the defaults
2014-08-15 18:44:40 +00:00
Nate Jones
6cba0ed247
Variables: Set default 'domain' variable value on install (corrected according to heredoc syntax for variables).
2014-08-15 05:41:36 +00:00
Nate Jones
6fe379aab3
Variables: Set default 'domain' variable value on install.
2014-08-15 04:54:16 +00:00
Richard Neese
d90a05d417
fixed the path correctly rm /sounds
2014-08-12 13:52:46 +00:00
Mark Crane
e1a5ec4575
Fix the sound_prefix path
2014-08-12 04:27:55 +00:00
Mark Crane
5e0d82c06d
Unset the prepared statements used in the app_defaults.php files.
2014-07-23 22:00:03 +00:00
Nuno Miguel Reis
05e3a61ac4
pt-ring
2014-01-21 18:03:05 +00:00
Mark Crane
af0eed8d32
When using the install or upgrade save vars.xml file.
2013-04-28 07:28:04 +00:00
Mark Crane
3d963d8a37
Change local_stream://moh to local_stream://default.
2013-03-25 21:23:31 +00:00
Mark Crane
f04d858ba2
Add transfer_ringback to system -> variables.
2013-02-06 13:59:43 +00:00
Mark Crane
ec3d108a59
Add a missing comma to fix a bug where the install only adds two variables. To fix existing systems with this problem update the code to get thix fix then run addvanced -> upgrade schema.
2013-02-02 23:09:09 +00:00
Mark Crane
6c7228e0cc
Check variables correctly to see if ringback is already set.
2013-02-01 04:40:54 +00:00
Mark Crane
914a073489
Add ringback and domain_uuid to the variables.
2013-02-01 04:29:48 +00:00