Leitgedanken/classes/TestProjektSmarty.class_subdir.php
2022-11-21 09:47:28 +01:00

18 lines
697 B
PHP

<?php
date_default_timezone_set("Europe/Berlin");
set_include_path( get_include_path().PATH_SEPARATOR.'./lib');
require_once('../lib/smarty/libs/Smarty.class.php');
if(!defined('REQUIRED_SMARTY_DIR')) define('REQUIRED_SMARTY_DIR','./');
class TestProjektSmarty extends Smarty{
public function __construct(){
parent::__construct(); // this must be called
$this->template_dir = REQUIRED_SMARTY_DIR.'../templates';
$this->compile_dir = REQUIRED_SMARTY_DIR.'../templates_c';
$this->config_dir = REQUIRED_SMARTY_DIR.'../config';
$this->cache_dir = REQUIRED_SMARTY_DIR.'../cache';
}
}
?>