Commit Graph

34 Commits

Author SHA1 Message Date
FusionPBX db0506e039 Update app_defaults.php 2019-07-25 09:43:00 -06:00
FusionPBX 70d6f0c338 Update app_defaults.php 2019-07-25 08:48:58 -06:00
Matthew Vale a936bbcf74 moved config_lua responsibility to install_switch 2015-12-01 15:13:33 +00:00
Matthew Vale f819eaf65c Added check
will now throw if the config.lua could not be opened for writing
2015-11-26 11:23:52 +00:00
Matthew Vale b9e8b3ef03 fix to use phrases_dir
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-03 11:16:05 +00:00
Matthew Vale c1b5895219 reverted so branch is consistent for patch 2015-11-02 17:32:43 +00:00
Matthew Vale 3a9f2b0f24 changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths 2015-11-02 09:53:42 +00:00
markjcrane d667a31140 Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"] 2015-10-08 11:03:48 -07:00
markjcrane d0ac25c265 Move the xml handler expire and debug settings to config.lua. 2015-10-08 08:34:35 -07:00
Alexey Melnichuk 69717e31d5 Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX d1f3b05cf6 Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
Alexey Melnichuk b72a39d6e3 Change. Use odbc connector if there exists odbc database
It needs because on windows FreeSWITCH builds without native support PostgreSQL.
2015-07-13 15:04:33 +04:00
Alexey Melnichuk 6d15cd4fca Use long string syntax to generate `config.lua` file.
Close #1006
2015-07-02 11:39:48 +04:00
Mark Crane 3e9161dff7 Add document_root to config.lua. 2015-04-28 00:05:01 +00:00
Mark Crane 4db29e27a0 Add php_bin and php_dir to the config.lua script. 2015-04-27 23:50:15 +00:00
Mark Crane 5e0d82c06d Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Mark Crane 617ac6b554 Add the default dial_string to config.lua 2014-04-30 20:44:34 +00:00
Mark Crane 811beb824d Fix the local.lua path 2014-04-26 05:49:46 +00:00
Mark Crane 23af18ae41 Remove -c client_min_messages=NOTICE for maximum compatibility. 2014-01-02 18:59:40 +00:00
Mark Crane 71cf5a3521 If the $db_type variable has no value then don't write the config.lua script. 2013-10-22 03:18:28 +00:00
Mark Crane 1b9af8234d Set the storage and voicemail directory variables in config.lua. 2013-09-23 19:37:19 +00:00
Mark Crane ba48d681b2 Add an additional = to fix the syntax. 2013-07-29 23:18:42 +00:00
Mark Crane d161215e44 Changes to the config.lua script where it is saved and how local.lua is included. 2013-05-02 02:16:49 +00:00
Mark Crane 633756b178 Remove config.js 2013-04-09 19:20:36 +00:00
Mark Crane d8f1cbd90b Replace \ with / before writing it to config.lua. 2013-04-05 01:03:45 +00:00
Mark Crane 92916a2e27 Move the semi-colons to the correct spot. 2013-04-01 22:05:39 +00:00
Mark Crane ac203b91ed Adjust the LUA database connection to accommodate native PostgreSQL support and the recent change to the database connection syntax. 2013-03-31 08:18:41 +00:00
Mark Crane c12f33952a Fix the recordings directory. take two 2012-10-16 05:47:49 +00:00
Mark Crane 1becd32f7e Remove the quotes around the domain_count. 2012-10-16 04:09:27 +00:00
Mark Crane 516df5033a Add domain_count to the config.lua file. 2012-10-16 03:54:42 +00:00
Mark Crane 17af99d5e5 Efficiency enhancement for upgrade and upgrade_schema by running global tasks one time rather than for each domain. 2012-08-14 21:59:45 +00:00
Mark Crane b8f85393a9 Change app_defaults so it uses the new database_driver field. 2012-07-17 16:16:07 +00:00
Mark Crane c344400c82 Add database driver to along with type it helps distinguish which type of database is being used when using odbc. Added app_defaults to core/databases so that the script config.lua can be created when the database is saved and upgraded. Previously it only saved a new config.lua when running upgrade or upgrade schema which was not intuitive. 2012-07-17 15:56:32 +00:00