show some extra help if there are no DB engines available

This commit is contained in:
Shish 2013-02-06 08:24:01 +00:00
parent c9491ad714
commit 6dc39fe39f

View File

@ -197,7 +197,7 @@ function ask_questions() { // {{{
}); });
function update_qs() { function update_qs() {
$(".dbconf").hide(); $(".dbconf").hide();
var seldb = $("#database_type").val(); var seldb = $("#database_type").val() || "none";
$("."+seldb).show(); $("."+seldb).show();
} }
</script> </script>
@ -213,6 +213,10 @@ function ask_questions() { // {{{
For SQLite the database name will be a filename on disk, relative to For SQLite the database name will be a filename on disk, relative to
where shimmie was installed. where shimmie was installed.
</p> </p>
<p class="dbconf none">
Drivers can generally be downloaded with your OS package manager;
for Debian / Ubuntu you want php5-pgsql, php5-mysql, or php5-sqlite.
</p>
</div> </div>
EOD; EOD;