-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
38 lines (31 loc) · 1.39 KB
/
config.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
/**
* Gallerie Config
*/
// MD5 hashed password for the admin area
// You can get an MD5 hash here: http://www.md5.net/md5-generator/
define('GALLERIE_PASS', '5f4dcc3b5aa765d61d8327deb882cf99');
// Image size preferences
define('GALLERIE_THUMB_SIZE', 120); // Square
define('GALLERIE_IDX_THUMB_SIZE', 240); // Square
define('GALLERIE_MAX_WIDTH', 1920); // Max resized (display) width
define('GALLERIE_MAX_HEIGHT', 1080); // Max resized (display) height
define('GALLERIE_JPG_QUALITY', 88); // 0-100
define('GALLERIE_PNG_COMPRESSION', 6); // 1-9
// Web path to gallerie folder
define('GALLERIE_PATH', '/gallerie/'); // Path to gallerie folder
// Web path to gallery display
define('GALLERIE_PATH_DISPLAY', '/gallerie/'); // Path to gallerie display (public gallery index)
// Output Templates
define('GALLERIE_TPL_PATH', 'assets/templates/');
/*****************************************************************************/
// You shouldn't need to modify these
define('GALLERIE_VERSION', '1');
define('GALLERIE_ROOT', str_replace('\\', '/', __DIR__) . '/');
define('GALLERIE_DATA', 'data/gallerie.sqlite');
define('GALLERIE_ORIGINALS', 'images/originals/');
define('GALLERIE_DISPLAY', 'images/display/');
define('GALLERIE_THUMBS', 'images/thumbs/');
define('GALLERIE_IDX_THUMBS', 'images/idx_thumbs/');
define('GALLERIE_MODIFIED', 'images/modified/');
define('GALLERIE_ADMIN_TPL_PATH', 'admin/assets/templates/');