-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathparse.php
115 lines (101 loc) · 2.87 KB
/
parse.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
// =========================================
// = Scaffold Configuration =
// =========================================
/**
* The location of the Scaffold system folder
*/
$system = './';
/**
* Production Mode
*
* TRUE for production, FALSE for development. In development the cache is always
* refreshed each time you reload the CSS. In production, the cache is locked
* and will only be recache if BOTH of these conditions are met:
*
* 1. One of the files in the request has changed
* 2. The cache lifetime has expired (set below)
*/
$config['production'] = true;
/**
* Cache Lifetime
*
* This value, in seconds, determines how long the cache will last before it
* tries to recompile the CSS again from the source. This won't affect the
* the browser cache unless the file has actually changed.
*
* If an extension needs to have the cache remade after a certain amount of
* time, you'll probably want to set this.
*/
$config['max_age'] = false;
/**
* Load paths
*
* Paths for Scaffold to search for files. It will use these paths to try and find
* @import and url() paths (and others).
*/
$config['load_paths'] = array();
/**
* PHP gzip compression
*
* If you don't want to use the .htaccess to gzip your files, you can have Scaffold
* do it for you before it outputs the CSS to the browser. Note that this takes longer
* to do than to just use Apache to compress your components.
*
* Set this from 1-9, with 9 being the highest compression, and false being no compression.
*/
$config['output_compression'] = false;
/**
* Use ETag
*
* ETags are good for ensuring content is only re-downloaded when
* it needs to be, but when a file is delivered from many servers,
* like in a cluster server setup, it can actually cause files
* to be downloaded more than usual.
*
* @see http://developer.yahoo.com/performance/rules.html#etags
* @see http://www.askapache.com/htaccess/apache-speed-etags.html
*/
$config['set_etag'] = true;
/**
* Enables the use of strings in the URL as a source
*/
$config['enable_string'] = false;
/**
* Enables the use of URLs as a source
*/
$config['enable_url'] = false;
// =========================================
// = Extension Configuration =
// =========================================
/**
* Enabled extensions
*/
$config['extensions'] = array(
'AbsoluteUrls',
'Embed',
'Functions',
'HSL',
'ImageReplace',
'Minify',
'Properties',
'Random',
'Import',
'Mixins',
'NestedSelectors',
'Variables',
'XMLVariables',
//'Sass',
//'CSSTidy',
//'YUI'
);
/**
* Extensions have their own configuration by using the format:
* $config['Constants']['key'] = value;
* These are then available within the extension with $this->config.
*/
//$config['AbsoluteUrls']['require_files'] = false;
// =========================================
// = Load Scaffold =
// =========================================
include $system.'/index.php';