2024-07-01 01:24:28 -04:00
|
|
|
[options]
|
|
|
|
database="sqlite" #sqlite or mysql
|
2024-06-30 23:28:04 -04:00
|
|
|
|
2024-07-01 00:44:23 -04:00
|
|
|
[mysql]
|
|
|
|
mysqlconnect_path="/var/config/mysqlconnect.php"
|
|
|
|
host="localhost"
|
2024-07-01 01:24:28 -04:00
|
|
|
username="dbUser"
|
|
|
|
database="dbName"
|
|
|
|
password="dbPassword"
|
|
|
|
|
|
|
|
[sqlite]
|
|
|
|
password="CHANGE_ME!" #This is used to manage the sqlite database from a ui at /update_db.php
|
2024-07-01 00:44:23 -04:00
|
|
|
|
2024-07-01 01:24:28 -04:00
|
|
|
# To use this file, run setup.sh with bash
|
|
|
|
# or you can use
|
|
|
|
#
|
|
|
|
# cp example.config.cfg config.cfg
|
|
|
|
# cp example.mysqlconnect.php /var/config/mysqlconnect.php
|
|
|
|
# chmod 755 /var/config/mysqlconnect.php
|
|
|
|
#
|
|
|
|
# and manually enter the values into the config.cfg file
|
|
|
|
# the mysqlconnect.php is moved to /var/config to be outside the scope of the end user,
|
|
|
|
# you can place it elsewhere if you desire, be sure to update the mysqlconnect_path variable
|