Dash-Da-Dash-DX-2023-Fan-Pa.../example.config.cfg

23 lines
722 B
INI
Raw Normal View History

[options]
database="sqlite" #sqlite or mysql
[mysql]
mysqlconnect_path="/var/config/mysqlconnect.php"
host="localhost"
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
# 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