<?php

/**
* @name Plenty Parser
* @subpackage Config
* @copyright 2011
* @author Dwayne Charrington
* @license http://philsturgeon.co.uk/code/dbad-license
* @version 1.0
*/

// Default driver to render views with
$config['parser.driver'] = "smarty";

// Is the theming system enabled or disabled
$config['parser.theme.enabled'] = false;

// Where are themes located?
$config['parser.theme.locations'] = array(
    APPPATH . "themes",
    FCPATH . "themes"
);

// Default theme to use
$config['parser.theme.default'] = "";



// Twig template extension (default)
$config['parser.twig.extension'] = ".twig";

// Default template location
$config['parser.twig.location'] = APPPATH . "";

// Twig template caching location
$config['parser.twig.cache_location'] = APPPATH . "cache/twig/";

// Debug mode turned on or off for Twig?
$config['parser.twig.debug'] = false;



// Smarty template extension (default)
$config['parser.smarty.extension'] = ".php";

// Left delimiter
$config['parser.smarty.left.delim'] = "{";

// Right delimiter
$config['parser.smarty.right.delim'] = "}";

// Default location for finding Smarty templates
$config['parser.smarty.location'] = APPPATH . "";

// Where compiled Smarty templates will reside
$config['parser.smarty.compile_dir'] = APPPATH . "cache/smarty/compiled/";

// Where Smarty caching happens
$config['parser.smarty.cache_dir'] = APPPATH . "cache/smarty/";

// Smarty configs directory
$config['parser.smarty.config_dir'] = APPPATH."third_party/Smarty/configs/";

// Smarty caching enabled by default unless explicitly set to 0
$config['parser.smarty.cache_status'] = 1;

// Cache lifetime. Default value is 3600 seconds (1 hour) Smarty's default value
$config['parser.smarty.cache_lifetime'] = 3600;

// Debug mode turned on or off?
$config['parser.smarty.debug'] = false;