PDO::ERRMODE_EXCEPTION]); $stmt = $connection->prepare(str_replace("%PREFIX%", DB_PREFIX, "SELECT * FROM `%PREFIX%_dbversion`;")); $query = $stmt->execute(); $populated = !empty($stmt->fetchAll(PDO::FETCH_ASSOC)); $stmt2 = $connection->prepare(str_replace("%PREFIX%", DB_PREFIX, "SELECT * FROM `%PREFIX%_users`;")); $query2 = $stmt2->execute(); $userPopulated = !empty($stmt2->fetchAll(PDO::FETCH_ASSOC)); } catch (PDOException $e){ $populated = false; $userPopulated = false; } } } catch (Exception $e) { $dbnameValue = "allerta"; $unameValue = t("user", false); $pwdValue = t("password", false); $dbhostValue = "127.0.0.1"; $prefixValue = "allerta01"; $configOk = false; } } else { $dbnameValue = "allerta"; $unameValue = t("user", false); $pwdValue = t("password", false); $dbhostValue = "127.0.0.1"; $prefixValue = "allerta01"; $configOk = false; } if(!is_cli()) { ?> Allerta › <?php t("installation"); ?>

config.php. config-sample.php"); ?> config.php.

" class="button button-large">

.

" class="button button-large">

"); t("If you are ready, it's time to..."); ?>

">

.

">

.

"); t("If you are ready, it's time to..."); ?>