forked from Offerel/roundcube_pictures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.php.dist
15 lines (15 loc) · 1.46 KB
/
config.inc.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
$config['pictures_path'] = '/path/to/%u/files/Pictures/'; // Absolute path to the photos of the logged in user. Use %u for the username
$config['thumb_path'] = '/path/to/gal_thmbs/%u/photos/'; // Absolute path to the generated thumbnails of user photos. Use %u for the username. This must not be a subdirectory of $config['pictures_path']
$config['date_format'] = "d.m.Y"; // please see https://secure.php.net/manual/de/function.date.php
$config['time_format'] = "H:i"; // please see https://secure.php.net/manual/de/function.date.php
$config['thumbs_pr_page'] = 30; // Number of thumbnails on a single page
$config['sorting_folders'] = "name"; // Sort folders by: name / date
$config['sorting_files'] = "date"; // Sort folders by: name / date / size
$config['sortdir_folders'] = SORT_ASC; // Sort direction of folders: SORT_ASC / SORT_DESC
$config['sortdir_files'] = SORT_DESC; // Sort direction of files: SORT_ASC / SORT_DESC
$config['skip_objects'] = array('aFolder', 'aFile.ext'); // Those files and folders will not be displayed
$config['thumb_size'] = 220; // Thumbnail height/width (square thumbs). Changing this will most likely require manual altering of the template file to make it look properly!
$config['label_max_length'] = 40; // Maximum chars of a folder name that will be displayed on the folder thumbnail
$config['display_exif'] = 1; // Take care, even if not displayed EXIF are still readable for visitors. May be a good idea to erase EXIF data...
?>