This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/config/config.example.ini

49 lines
1.3 KiB
INI

; Example Sakura configuration
; Rename this file to config.ini after you're done editing.
; Database configuration
[database]
; SQL Driver that should be used.
; This has to relate to a PHP file in the libraries/DBWrapper folder
; but must EXCLUDE the .php file extension. (I recommend sticking with the bundled mysql library)
driver = mysql
; Use a Unix system socket (if the library supports it), doesn't work on Windows servers.
unixsocket = false
; URI to SQL server (usually localhost or 127.0.0.1) or in the case that you're using Unix sockets
; the path to the socket.
host = localhost
; Port for the SQL server, ignored if Unix sockets are used. Should be 3306.
port = 3306
; Username used to authenticate with the SQL server
username = sakura
; Password for the same purpose
password = "password"
; Database (not table) name used.
database = sakura
; Table prefix used.
prefix = sakura_
; Data files relative to the root directory
[data]
; JSON file containing WHOIS servers
whoisservers = config/whois.json
; JSON file containing ISO 3166 country codes
iso3166 = config/iso3166.json
; Development mode settings
[dev]
; Show detailed error logs in browser
show_errors = true
; Show a small version of the changelog loaded from sakura.flash.moe
show_changelog = true