Commit Graph

22 Commits

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