Skip to content

Commit

Permalink
Merged better mssql check from stable
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Nov 7, 2006
1 parent 897e026 commit 5f8deaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.php
Expand Up @@ -290,14 +290,14 @@
}

if ($INSTALL['dbtype'] == 'mssql') { /// Check MSSQL extension is present
if (!extension_loaded('mssql')) {
if (!function_exists('mssql_connect')) {
$errormsg = get_string('mssqlextensionisnotpresentinphp', 'install');
$nextstage = DATABASE;
}
}

if ($INSTALL['dbtype'] == 'mssql_n') { /// Check MSSQL extension is present
if (!extension_loaded('mssql')) {
if (!function_exists('mssql_connect')) {
$errormsg = get_string('mssqlextensionisnotpresentinphp', 'install');
$nextstage = DATABASE;
}
Expand Down

0 comments on commit 5f8deaf

Please sign in to comment.