mirror of
https://github.com/x86dev/docker-ttrss
synced 2025-12-13 01:46:00 +00:00
Dockerfile is now based on phusion/baseimage and enables mandatory https
access via a self-signed certificate.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
include '/utils.php';
|
||||
include '/root/utils.php';
|
||||
|
||||
$ename = 'DB';
|
||||
$eport = 5432;
|
||||
@@ -52,6 +52,7 @@ if (!dbcheck($config)) {
|
||||
$pdo = dbconnect($config);
|
||||
try {
|
||||
$pdo->query('SELECT 1 FROM ttrss_feeds');
|
||||
echo 'Connection to database successful';
|
||||
// reached this point => table found, assume db is complete
|
||||
}
|
||||
catch (PDOException $e) {
|
||||
|
||||
Reference in New Issue
Block a user