Цитата:
Сообщение от ExDragon
если бы открыть файл и посмотреть! то я уже пытался и зашёл в тупик... если бы я его сделал, я бы наверное не спрашивал?
|
пример
Код:
<?php
require_once('includes/Smarty/Smarty.class.php');
class View extends Smarty{
function View()
{
parent::__construct();
$config = Registry::get('config');
$this->left_delimiter = '{';
$this->right_delimiter = '}';
$this->debugging = true;
$this->compile_check = true;
$this->allow_php_tag = true;
$this->template_dir = 'skin/'.$config['skin'];
$this->compile_dir = 'templates_c/'.$config['skin'].'/';
}
}
устроит?