explain configuration options
[surrogator.git] / data / surrogator.config.php.dist
1 <?php
2 /**
3  * Directory where you source image files live
4  */
5 $rawDir = __DIR__ . '/../raw/';
6
7 /**
8  * Directory in which all the image files get generated into.
9  * You could put that to /var/cached/avatars/ or so
10  */
11 $varDir = __DIR__ . '/../var/';
12
13 /**
14  * Document root of the web server host.
15  */
16 $wwwDir = __DIR__ . '/../www/';
17
18 /**
19  * Directory of default resource files.
20  * You probably do not want to change that.
21  */
22 $resDir = __DIR__ . '/../res/';
23
24 /**
25  * Array of image sizes to generate.
26  * Needs to be in ascending order.
27  */
28 $sizes   = array(16, 32, 48, 64, 80, 96, 128, 256, 512);
29
30 /**
31  * Maximum image size supported by the server
32  */
33 $maxSize = 512;
34
35 /**
36  * Default log level. 0 for no logging, 1 for important messages, 3 for all
37  */
38 $logLevel = 1;
39
40 /**
41  * By default, images are only generated if their source file (in raw/)
42  * is newer than the generated square file. If you set $forceUpdate
43  * to true, the images will always be regenerated.
44  */
45 $forceUpdate = false;
46 ?>