From 1e81e57ddc9fbc209cab9f2c16f609b2e24e4dd5 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Tue, 1 Dec 2015 11:56:37 +0000 Subject: [PATCH] Added detection of windows + non sqlite --- core/install/install_first_time.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/install/install_first_time.php b/core/install/install_first_time.php index e47bb700bd..074abaf53d 100644 --- a/core/install/install_first_time.php +++ b/core/install/install_first_time.php @@ -168,6 +168,10 @@ if(!$install_step) { $install_step = 'select_language'; } "You can use the following to find what ports are allowed
semanage port -l | grep '^http_port_t'
"; } } + //test for windows and non sqlite + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') and strlen($db_type) > 0 and $db_type !='sqlite') { + $messages[] = "Windows requires a system DSN ODBC connection this must be configured after installing then restart freeswitch."; + } //action code if($return_install_step == 'config_detail'){