forked from vladamatena/gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.defaults.php
38 lines (31 loc) · 1.12 KB
/
config.defaults.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*********************************
* Server configurations options *
********************************/
GLOBAL $gallery;
$gallery = array();
// Directory with images to browse
$gallery['root'] = "/original_photos";
// tem for storing scaled versions
$gallery['scaled'] = "/scaled_photos";
// Access password (empty means no password)
$gallery['password'] = "";
// SQL connection settings
$gallery['sql_host'] = "localhost";
$gallery['sql_user'] = "gallery";
$gallery['sql_pass'] = "password";
$gallery['sql_db'] = "gallery";
/**********************************
* Client configuration options *
**********************************/
GLOBAL $gallery_client;
$gallery_client = array();
// Specify, how the top folders are categorized
// Allowed values are: year, name
// year - categories based on year detected in folder name
// name - categories based on the top folder name (if it contains only subfolders, not files)
$gallery_client['categories'] = "year";
// Speed limit for loading source images in bytes per second
// Load sources on faster connections
$gallery_client['speed_limit'] = 500000;
?>