4e5c836b8d
- Share whole albums - Public Mode - Import images via URL - New Share-Button - Improved Toolbar - Check for updates (see config.php) - ASC or DESC sorting (see config.php) - Download album fixed - Code optimizations (thanks @tibounise) - Changes and enhancements Update from version 1.0 or 1.1: 1. Replace all files, excluding `uploads/` 2. Open php/config.php and reconfigure your installation (We added new settings) 3. Open php/update.php in your browser
29 lines
777 B
PHP
Executable File
29 lines
777 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* @name config.php
|
|
* @author Philipp Maurer
|
|
* @author Tobias Reich
|
|
* @copyright 2013 by Philipp Maurer, Tobias Reich
|
|
*/
|
|
|
|
if(!defined('LYCHEE')) die('Direct access is not allowed!');
|
|
|
|
// Database configurations
|
|
$db = 'lychee'; //Database name
|
|
$dbUser = 'lychee'; //Username of the database
|
|
$dbPassword = 'lychee_passwd'; //Password of the Database
|
|
$dbHost = 'localhost'; //Host of the Database
|
|
|
|
// Admin Login
|
|
$user = 'lychee'; //Admin Username
|
|
$password = '1234'; //Admin Password
|
|
|
|
// Additional settings
|
|
$checkForUpdates = true;
|
|
$thumbQuality = 95; //Quality of the Thumbs (0-100). Default: 95
|
|
$sorting = 'DESC'; //ASC or DESC sorting of albums and photos
|
|
$bitlyUsername = ''; //Your Bit.ly Username
|
|
$bitlyApi = ''; //Your Bit.ly API Key
|
|
|
|
?>
|