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