summaryrefslogtreecommitdiff
path: root/views/things/ghrss/ghrss.db.php
diff options
context:
space:
mode:
authorhorus2022-10-31 12:24:35 +0100
committerhorus2022-10-31 12:24:35 +0100
commit3c4aa25af0cd6f56db85d503ab552d39b81b5c17 (patch)
treec9e7e8de0be62e7f1389a8c19485a6ca29806497 /views/things/ghrss/ghrss.db.php
parentf0c30d3bf798d52d5c2b14b0a2a12167ed7c2d72 (diff)
downloadmoehring-3c4aa25af0cd6f56db85d503ab552d39b81b5c17.tar.gz
renamed to things
Diffstat (limited to 'views/things/ghrss/ghrss.db.php')
-rw-r--r--views/things/ghrss/ghrss.db.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/things/ghrss/ghrss.db.php b/views/things/ghrss/ghrss.db.php
new file mode 100644
index 0000000..d96f881
--- /dev/null
+++ b/views/things/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);