Skip to content
Snippets Groups Projects
Commit b2d8f1eb authored by vtigerosm's avatar vtigerosm
Browse files

Fix #555 detect mysqli - Detects if mysqli is present

parents 8da494bd 347da0a9
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,11 @@
<td>{vtranslate('LBL_DATABASE_TYPE', 'Install')}<span class="no">*</span></td>
<td>
{vtranslate('MySQL', 'Install')}
<input type="hidden" value="mysql" name="db_type">
{if function_exists('mysqli_connect')}
<input type="hidden" value="mysqli" name="db_type">
{else}
<input type="hidden" value="mysql" name="db_type">
{/if}
</td>
</tr>
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment