1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
16:
17: 18: 19: 20: 21: 22:
23: class cSmartyBackend extends cSmartyFrontend {
24:
25: public function __construct(&$aCfg, &$aClientCfg, $bSanityCheck = false) {
26: parent::__construct($aCfg, $aClientCfg, false);
27:
28: parent::$aDefaultPaths = array(
29: 'template_dir' => $aCfg['path']['contenido'] . 'plugins/smarty_templates/',
30: 'cache_dir' => $aCfg['path']['contenido_cache'],
31: 'compile_dir' => $aCfg['path']['contenido_cache'] . 'templates_c/'
32: );
33:
34: parent::$bSmartyInstanciated = true;
35:
36: $this->resetPaths();
37: }
38:
39: }