* @copyright (c) 2018, conlite.org * @license http://www.gnu.de/documents/gpl.en.html GPL v3 (english version) * @license http://www.gnu.de/documents/gpl.de.html GPL v3 (deutsche Version) * @link http://www.conlite.org ConLite.org * * $Id: class.smarty.backend.php 128 2019-07-03 11:58:28Z oldperl $ */ /** * @package Plugin * @subpackage SmartyWrapper * @author Andreas Dieter * @copyright four for business AG */ defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.'); /** * Wrapper class for Integration of smarty. * * @package Plugin * @subpackage SmartyWrapper */ class cSmartyBackend extends cSmartyFrontend { public function __construct(&$aCfg, &$aClientCfg, $bSanityCheck = false) { parent::__construct($aCfg, $aClientCfg, false); parent::$aDefaultPaths = array( 'template_dir' => $aCfg['path']['contenido'] . 'plugins/smarty_templates/', 'cache_dir' => $aCfg['path']['conlite_cache'], 'compile_dir' => $aCfg['path']['conlite_cache'] . 'templates_c/' ); parent::$bSmartyInstanciated = true; $this->resetPaths(); } }