diff options
| author | 2015-06-05 20:44:45 +0200 | |
|---|---|---|
| committer | 2015-06-05 20:44:45 +0200 | |
| commit | 92db9202980ce63ad6f437416efd50c07792e7e8 (patch) | |
| tree | 043aab58248ba6c4ccca8f6aa1a79fbc95059c43 /app/install.php | |
| parent | 9b512b82e2e65c6ca18199ed328de2645a7bc84e (diff) | |
PDO option example
Diffstat (limited to 'app/install.php')
| -rw-r--r-- | app/install.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php index 3cdd59d11..313081c14 100644 --- a/app/install.php +++ b/app/install.php @@ -165,7 +165,7 @@ function saveStep3() { $_SESSION['bd_user'] = $_POST['user']; $_SESSION['bd_password'] = $_POST['pass']; $_SESSION['bd_prefix'] = substr($_POST['prefix'], 0, 16); - $_SESSION['bd_prefix_user'] = $_SESSION['bd_prefix'] .(empty($_SESSION['default_user']) ? '' :($_SESSION['default_user'] . '_')); + $_SESSION['bd_prefix_user'] = $_SESSION['bd_prefix'] . (empty($_SESSION['default_user']) ? '' : ($_SESSION['default_user'] . '_')); } //TODO: load `config.default.php` as default @@ -183,6 +183,7 @@ function saveStep3() { 'password' => $_SESSION['bd_password'], 'base' => $_SESSION['bd_base'], 'prefix' => $_SESSION['bd_prefix'], + 'pdo_options' => array(), ), ); |
