summaryrefslogtreecommitdiff
path: root/www/tt-rss/files/ttrss_db_check.php.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/tt-rss/files/ttrss_db_check.php.in')
-rw-r--r--www/tt-rss/files/ttrss_db_check.php.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/tt-rss/files/ttrss_db_check.php.in b/www/tt-rss/files/ttrss_db_check.php.in
new file mode 100644
index 000000000000..a8b72d8b76fe
--- /dev/null
+++ b/www/tt-rss/files/ttrss_db_check.php.in
@@ -0,0 +1,8 @@
+<?php
+chdir("%%WWWDIR%%");
+
+require_once "%%WWWDIR%%/classes/config.php";
+require_once "%%WWWDIR%%/include/functions.php";
+
+print(strtolower(Config::get(Config::DB_TYPE)));
+?>