Показать сообщение отдельно
Старый 27.04.2011, 13:17   #116
Minimajack
Гость
 
Сообщений: n/a
По умолчанию

Цитата:
Сообщение от 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'].'/';
	}
}
устроит?
  Ответить с цитированием