diff options
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-x | include/sanity_check.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php index 3998416f5..86dc7a5f0 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -60,7 +60,7 @@ array_push($errors, "Please copy config.php-dist to config.php or run the installer in install/"); } - if (strpos(PLUGINS, "auth_") === FALSE) { + if (strpos(PLUGINS, "auth_") === false) { array_push($errors, "Please enable at least one authentication module via PLUGINS constant in config.php"); } @@ -105,7 +105,7 @@ } if (SINGLE_USER_MODE && class_exists("PDO")) { - $pdo = DB::pdo(); + $pdo = Db::pdo(); $res = $pdo->query("SELECT id FROM ttrss_users WHERE id = 1"); @@ -219,8 +219,8 @@ <?php foreach ($errors as $error) { echo format_error($error); } ?> - <p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the - <a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic + <p>You might want to check tt-rss <a href="https://tt-rss.org/wiki.php">wiki</a> or the + <a href="https://community.tt-rss.org/">forums</a> for more information. Please search the forums before creating new topic for your question.</p> </div> |