aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-16 13:29:09 +1000
committerYuchen Pei <hi@ypei.me>2022-09-16 13:29:36 +1000
commit6886df5e4a11ae159186ea31d54c4d944843aa43 (patch)
tree6d82eee2ee74c2ecd6874b1e4487b7277a3005a2
parenta306520765a10512a7cd0dd6e4809036a232a96f (diff)
minor changes to readme
- mail configs are credential files - wget should overwrite the existing files
-rw-r--r--README.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.txt b/README.txt
index 963f22f..e23b828 100644
--- a/README.txt
+++ b/README.txt
@@ -127,7 +127,7 @@ You will be able to login to the website using the 'admin' user and change the w
== Account issues ==
-If you want that the system can send e-mails you have to specify the name of the SMTP server that has to be used. Open the file Application/Include/params.php and set the following static attributes of the Website class:
+If you want that the system can send e-mails you have to specify the name of the SMTP server that has to be used. Copy the file Application/Include/params.php.sample to Application/Include/params.php and set the following static attributes of the Website class:
$mailServer = ""; // set the mail server (if $useSMTP = true)
$generalMail = ""; // set the username of your mail account (always needed)
@@ -144,6 +144,7 @@ You can also set these constants:
$generalName = ""; // the string that you want to use inside the <title> tag of your website
$projectName = ""; // the name of your project
+To configure for the admin app, do the same for admin/Application/Include/params.php.sample.
== Configure the HTML template (right column, top notices, top menu, etc.) ==
@@ -191,8 +192,8 @@ Change into the scripts/vendorid/ directory. Open the file 'connect.php' and set
You will find two files containing the list of vendors: pci.ids and usb.ids. If you want more up-to-date versions of those files then delete them and write the following commands (or download those files from the URLs indicated below):
- wget pciids.sourceforge.net/v2.2/pci.ids
- wget http://www.linux-usb.org/usb.ids
+ wget pciids.sourceforge.net/v2.2/pci.ids -O pci.ids
+ wget http://www.linux-usb.org/usb.ids -O usb.ids
Be sure you have installed php-cli, then write the following command:
@@ -200,7 +201,6 @@ Be sure you have installed php-cli, then write the following command:
It will fill the 'vendors' MySql table.
-
<!-- NOTE: this file is legal mediawiki syntax -->
<!-- LICENSE