aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-16 14:32:03 +1000
committerYuchen Pei <hi@ypei.me>2022-09-16 14:32:03 +1000
commit11b98b11b01f9aff34f6a342bfb2372daf7f007a (patch)
tree39005381e96caeaadd5650274a68ada83bc27690
parentc16a2d8deee8bb7ea8840d83e9aa29a947e16430 (diff)
scripts/vendorid/connect.php is a credential file
-rw-r--r--.gitignore1
-rw-r--r--README.txt2
-rw-r--r--scripts/vendorid/connect.php.sample (renamed from scripts/vendorid/connect.php)0
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 78606d2..01e3ea4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@ Config/Config.php
admin/Config/Config.php
Application/Include/params.php
admin/Application/Include/params.php
+scripts/vendorid/connect.php
# litter
*~
diff --git a/README.txt b/README.txt
index 27e0bd3..551ef9c 100644
--- a/README.txt
+++ b/README.txt
@@ -186,7 +186,7 @@ After the installation, you have to fill the MySQL table containing the USB/PCI
To carry out this task, use the scripts in the scripts sub-directory.
-Change into the scripts/vendorid/ directory. Open the file 'connect.php' and set the following variables with the same values as your h-node instance:
+Change into the scripts/vendorid/ directory. Copy the file connect.php.sample to connect.php and set the following variables with the same values as your h-node instance:
$host = '<DOMAIN_NAME>';
$user = '<USERNAME>';
diff --git a/scripts/vendorid/connect.php b/scripts/vendorid/connect.php.sample
index cb078be..cb078be 100644
--- a/scripts/vendorid/connect.php
+++ b/scripts/vendorid/connect.php.sample