diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-06-01 13:57:28 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-06-01 13:57:28 +0200 |
commit | ca0744c0df9325a0f1cd6a1e7dd9cb4797a2a0a8 (patch) | |
tree | 36af472b159193e1b06fb241f367ce22555baea5 /inc | |
parent | 15a3949811e1eb92a90151554eee98d6f7d3f3dd (diff) | |
download | nextcloud-server-ca0744c0df9325a0f1cd6a1e7dd9cb4797a2a0a8.tar.gz nextcloud-server-ca0744c0df9325a0f1cd6a1e7dd9cb4797a2a0a8.zip |
notify the user if sqlite isn't installed during the first dialog
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/templates/adminform.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/templates/adminform.php b/inc/templates/adminform.php index be63c0cc6cc..8d34832e719 100755 --- a/inc/templates/adminform.php +++ b/inc/templates/adminform.php @@ -71,7 +71,11 @@ if($FIRSTRUN){?> <tr><td>enable automatic backup:</td><td><input type="checkbox" name="enablebackup" id="enablebackup" onchange='showBackupPath()' size="30" class="formstyle" value='1' <?php if($CONFIG_ENABLEBACKUP) echo 'checked'?>></input></td></tr> <tr id='backupdir'><td>backup directory:</td><td><input type="text" name="backupdirectory" size="30" class="formstyle" value="<?php echo($CONFIG_BACKUPDIRECTORY);?>"></input></td></tr> <tr><td>date format:</td><td><input type="text" name="dateformat" size="30" class="formstyle" value='<?php echo($CONFIG_DATEFORMAT);?>'></input></td></tr> -<?php if($FIRSTRUN){?> +<?php if($FIRSTRUN){ + if(!is_callable('sqlite_open')){ + echo '<tr><td colspan="2">No SQLite support detected, make sure you have both sqlite and the sqlite php module installed (sqlite and php5-sqlite for Debian/Ubuntu)</td></tr>'; + } +?> <tr><td>database type:</td><td> <select id='dbtype' name="dbtype" onchange='dbtypechange()'> <?php |