You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.9 KiB
47 lines
1.9 KiB
11 years ago
|
### Database Details
|
||
|
|
||
11 years ago
|
Your MySQL details are stored in `data/config.php`. This file doesn't exist until you installed Lychee. If you need to change your connection details, you can edit this file manually.
|
||
11 years ago
|
|
||
|
|
||
|
|
||
|
$dbHost = Your MySQL host (in most cases you can use localhost)
|
||
|
$dbUser = Your MySQL username
|
||
|
$dbPassword = Your MySQL password
|
||
|
$dbName = The name of the database you want to use
|
||
|
|
||
|
Fill these properties with your MySQL information. Lychee will create the database and tables for you, if they doesn't exist.
|
||
|
|
||
|
### Settings
|
||
|
|
||
11 years ago
|
All settings are stored in the database. You can change the properties manually, but we recommend to use the menu in Lychee. You can find this menu on the top left corner after you signed in. Some of these settings are only changeable directly in the database.
|
||
11 years ago
|
|
||
|
#### Login
|
||
|
|
||
|
username = Username for Lychee
|
||
|
password = Password for Lychee, saved as an md5 hash
|
||
|
|
||
11 years ago
|
Your photos and albums are protected by an username and password you need to set. If both rows are empty, Lychee will prompt you to set them.
|
||
11 years ago
|
|
||
|
#### Thumb Quality
|
||
|
|
||
|
thumbQuality = [0-100]
|
||
|
|
||
11 years ago
|
Less means an inferiority quality of your thumbs, but faster loading. More means a better quality of your thumbs, but slower loading. The default value is 90. The allowed values are between 0 and 100.
|
||
11 years ago
|
|
||
|
#### Check For Updates
|
||
|
|
||
|
checkForUpdates = [0|1]
|
||
|
|
||
|
If `1`, Lychee will check if you are using the latest version. The notice will be displayed beside the version-number when you sign in.
|
||
|
|
||
|
#### Sorting
|
||
|
|
||
|
sorting = ORDER BY [row] [ASC|DESC]
|
||
|
|
||
11 years ago
|
A typical part of a MySQL statement. This string will be appended to mostly every MySQL query.
|
||
|
|
||
|
#### Dropbox Key
|
||
|
|
||
|
This key is required to use the Dropbox import feature from your server. Lychee will ask you for this key, the first time you try to use the import. You can get your personal drop-ins app key from [their website](https://www.dropbox.com/developers/apps/create).
|
||
|
|
||
|
dropboxKey = Your personal App Key
|