Commit Graph

32 Commits

Author SHA1 Message Date
Matthew Vale bbcc8b5fa7 moved config_lua responsibility to install_switch 2015-12-01 15:13:33 +00:00
Matthew Vale 2fbd4e2aae 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 b073d792d5 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 35762486e1 reverted so branch is consistent for patch 2015-11-02 17:32:43 +00:00
Matthew Vale fee216cc13 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 33897a3abd Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"] 2015-10-08 11:03:48 -07:00
markjcrane a3d64af450 Move the xml handler expire and debug settings to config.lua. 2015-10-08 08:34:35 -07:00
Alexey Melnichuk 3e16e69adb Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX 2a2dd209df Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
Alexey Melnichuk 3da348fff0 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 243dffe949 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 a7eb1f12d0 Use long string syntax to generate `config.lua` file.
Close #1006
2015-07-02 11:39:48 +04:00
Mark Crane 0003bb1d82 Add document_root to config.lua. 2015-04-28 00:05:01 +00:00
Mark Crane 03e4777832 Add php_bin and php_dir to the config.lua script. 2015-04-27 23:50:15 +00:00
Mark Crane 1613d19c3b Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Mark Crane c1d4cfda15 Add the default dial_string to config.lua 2014-04-30 20:44:34 +00:00
Mark Crane dae33f59c9 Fix the local.lua path 2014-04-26 05:49:46 +00:00
Mark Crane 4db67e3553 Remove -c client_min_messages=NOTICE for maximum compatibility. 2014-01-02 18:59:40 +00:00
Mark Crane bb76e36387 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 a4bf9ead8e Set the storage and voicemail directory variables in config.lua. 2013-09-23 19:37:19 +00:00
Mark Crane 46fa3a465d Add an additional = to fix the syntax. 2013-07-29 23:18:42 +00:00
Mark Crane f422662176 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 4b8a4ca8a1 Remove config.js 2013-04-09 19:20:36 +00:00
Mark Crane 7005e120c5 Replace \ with / before writing it to config.lua. 2013-04-05 01:03:45 +00:00
Mark Crane 03f5952c17 Move the semi-colons to the correct spot. 2013-04-01 22:05:39 +00:00
Mark Crane 4930d592e1 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