forked from SimoneS93/xtremecache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
38 lines (32 loc) · 854 Bytes
/
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
/**
* Cache Time-To-Live in seconds
*/
const CACHE_TTL = 172800;
/**
* Cache driver
*/
const DRIVER = 'files'; // 'prestashop' or plain files
/**
* Cache folder for file cache
*/
const CACHE_DIR = 'xcache';
/**
* Default CHMOD for created files and folders
* For security, please use 0666 for module and 0644 for cgi
*/
const DEFAULT_CHMOD = 0770;
/**
* Cache mobile and desktop versions separatelly?
*/
const SEPARATE_MOBILE_AND_DESKTOP = false;
/**
* Do you use more than one currency?
* Set to false, to disable querying database.
*/
const MULTICURRENCY = false;
/**
* If value is false, we will serve cached pages during maintenance and do not query DB.
* If value is true, cache will be completly off during maintenance and we may query DB.
*/
const CHECK_FOR_MAINTENANCE = false;