mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-30 04:42:19 -05:00
Merge pull request #861 from wallabag/fix-query-sqlite-install
query for populate mysql/postgres was called when we choosed sqlite
This commit is contained in:
commit
1403af5be3
@ -155,8 +155,10 @@ else if (isset($_POST['install'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// create database structure
|
if ($_POST['db_engine'] != "sqlite") {
|
||||||
$query = $handle->exec($sql_structure);
|
// create database structure
|
||||||
|
$query = $handle->exec($sql_structure);
|
||||||
|
}
|
||||||
|
|
||||||
// Create user
|
// Create user
|
||||||
$handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
$handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
@ -254,7 +256,7 @@ else if (isset($_POST['install'])) {
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p>To install wallabag, you just have to fill the following fields. That's all.</p>
|
<p>To install wallabag, you just have to fill the following fields. That's all.</p>
|
||||||
<p>Don't forget to check your server compatibility <a href="wallabag_compatibility_test.php?from=install">here</a>.</p>
|
<p>Don't forget to check your server compatibility <a href="install/wallabag_compatibility_test.php?from=install">here</a>.</p>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><strong>Technical settings</strong></legend>
|
<legend><strong>Technical settings</strong></legend>
|
||||||
|
Loading…
Reference in New Issue
Block a user