From 11b98b11b01f9aff34f6a342bfb2372daf7f007a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 16 Sep 2022 14:32:03 +1000 Subject: scripts/vendorid/connect.php is a credential file --- .gitignore | 1 + README.txt | 2 +- scripts/vendorid/connect.php | 23 ----------------------- scripts/vendorid/connect.php.sample | 23 +++++++++++++++++++++++ 4 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 scripts/vendorid/connect.php create mode 100644 scripts/vendorid/connect.php.sample 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 = ''; $user = ''; diff --git a/scripts/vendorid/connect.php b/scripts/vendorid/connect.php deleted file mode 100644 index cb078be..0000000 --- a/scripts/vendorid/connect.php +++ /dev/null @@ -1,23 +0,0 @@ - \ No newline at end of file diff --git a/scripts/vendorid/connect.php.sample b/scripts/vendorid/connect.php.sample new file mode 100644 index 0000000..cb078be --- /dev/null +++ b/scripts/vendorid/connect.php.sample @@ -0,0 +1,23 @@ + \ No newline at end of file -- cgit v1.2.3