Commit Graph

22 Commits

Author SHA1 Message Date
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