-
Notifications
You must be signed in to change notification settings - Fork 2
/
gz.config.inc.php
38 lines (28 loc) · 1.24 KB
/
gz.config.inc.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
define('CHARSET', 'utf-8');
# Set the default filename here if not using index.html
# define('DEFAULT_FILENAME', 'index.html');
# Adjust this if gz.php is not stored in the root of your site.
define('BASE', dirname(__FILE__));
# Adjust this if rewrite base is not '/'
# define('REWRITEBASE', '/');
# Where to store cached files. Note that the request URI (without query string)
# is always appended.
# Option 1 (default): Store cached files in dedicated cache folder.
define('CACHE', BASE . '/gz-cache');
# Option 2: Store cached files next to original.
# define('CACHE', BASE);
# Some servers always return a file as text/html when
# the filename contains the string '.php.', in that case it is *not*
# a good idea to store a gz compressed version because it will be served as
# text/html if accessed directly (or indirectly via mod_rewrite) on such servers.
# This enables a work-around to not cache such files compressed.
define('PHP_IN_FILENAME_WORKAROUND', true);
define('EMBED_GRAPHICS_IN_CSS', false);
define('MINIFY', true);
# Debug mode.
# Send any PHP errors related to encoding, filesystem or minification as X-PHP-* header
define('DEBUG', false);
# Exlude the following files from minification. Host-relative paths.
# $excludes = [];
?>