summaryrefslogtreecommitdiff
path: root/views/tools/ghrss/ghrss.db.php
diff options
context:
space:
mode:
authorhorus2022-10-26 01:23:50 +0200
committerhorus2022-10-26 01:23:50 +0200
commit882c0eb89b375cbfdd9c04b236cbab0d3f39a128 (patch)
tree676c16e7beafdb8c11311b41b2bc22014c99aad1 /views/tools/ghrss/ghrss.db.php
parent79070c8855e5f3b87484196d6ef607a05979bf6c (diff)
downloadmoehring-882c0eb89b375cbfdd9c04b236cbab0d3f39a128.tar.gz
integrates ghrss
Diffstat (limited to 'views/tools/ghrss/ghrss.db.php')
-rw-r--r--views/tools/ghrss/ghrss.db.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/tools/ghrss/ghrss.db.php b/views/tools/ghrss/ghrss.db.php
new file mode 100644
index 0000000..d96f881
--- /dev/null
+++ b/views/tools/ghrss/ghrss.db.php
@@ -0,0 +1,14 @@
+<?php
+
+require_once __DIR__ . '/db_passwd.php';
+
+/**
+ * password is set in db_passwd.php
+ *
+ * $db_passwd = "";
+ */
+
+$db_name = "ghrss";
+$db_user = "ghrss_crawler";
+
+$db = new PDO('mysql:host=192.168.122.1;dbname='.$db_name, $db_user, $db_passwd);