1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * @name Plenty Parser |
---|
5 | * @subpackage Config |
---|
6 | * @copyright 2011 |
---|
7 | * @author Dwayne Charrington |
---|
8 | * @license http://philsturgeon.co.uk/code/dbad-license |
---|
9 | * @version 1.0 |
---|
10 | */ |
---|
11 | |
---|
12 | // Default driver to render views with |
---|
13 | $config['parser.driver'] = "smarty"; |
---|
14 | |
---|
15 | // Is the theming system enabled or disabled |
---|
16 | $config['parser.theme.enabled'] = false; |
---|
17 | |
---|
18 | // Where are themes located? |
---|
19 | $config['parser.theme.locations'] = array( |
---|
20 | APPPATH . "themes", |
---|
21 | FCPATH . "themes" |
---|
22 | ); |
---|
23 | |
---|
24 | // Default theme to use |
---|
25 | $config['parser.theme.default'] = ""; |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | // Twig template extension (default) |
---|
30 | $config['parser.twig.extension'] = ".twig"; |
---|
31 | |
---|
32 | // Default template location |
---|
33 | $config['parser.twig.location'] = APPPATH . ""; |
---|
34 | |
---|
35 | // Twig template caching location |
---|
36 | $config['parser.twig.cache_location'] = APPPATH . "cache/twig/"; |
---|
37 | |
---|
38 | // Debug mode turned on or off for Twig? |
---|
39 | $config['parser.twig.debug'] = false; |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | // Smarty template extension (default) |
---|
44 | $config['parser.smarty.extension'] = ".php"; |
---|
45 | |
---|
46 | // Left delimiter |
---|
47 | $config['parser.smarty.left.delim'] = "{"; |
---|
48 | |
---|
49 | // Right delimiter |
---|
50 | $config['parser.smarty.right.delim'] = "}"; |
---|
51 | |
---|
52 | // Default location for finding Smarty templates |
---|
53 | $config['parser.smarty.location'] = APPPATH . ""; |
---|
54 | |
---|
55 | // Where compiled Smarty templates will reside |
---|
56 | $config['parser.smarty.compile_dir'] = APPPATH . "cache/smarty/compiled/"; |
---|
57 | |
---|
58 | // Where Smarty caching happens |
---|
59 | $config['parser.smarty.cache_dir'] = APPPATH . "cache/smarty/"; |
---|
60 | |
---|
61 | // Smarty configs directory |
---|
62 | $config['parser.smarty.config_dir'] = APPPATH."third_party/Smarty/configs/"; |
---|
63 | |
---|
64 | // Smarty caching enabled by default unless explicitly set to 0 |
---|
65 | $config['parser.smarty.cache_status'] = 1; |
---|
66 | |
---|
67 | // Cache lifetime. Default value is 3600 seconds (1 hour) Smarty's default value |
---|
68 | $config['parser.smarty.cache_lifetime'] = 3600; |
---|
69 | |
---|
70 | // Debug mode turned on or off? |
---|
71 | $config['parser.smarty.debug'] = false; |
---|