Evo koda ako je do njega.
Code:
<?php
define("SMARTY_DIR",$_SERVER["DOCUMENT_ROOT"]."/libs/");
require_once(SMARTY_DIR."Smarty.class.php");
$smarty = new Smarty();
class Smarty_System extends Smarty
{
function Smarty_System()
{
$this->Smarty();
$this->template_dir = $_SERVER["DOCUMENT_ROOT"]."/templates/";
$this->compile_dir = $_SERVER["DOCUMENT_ROOT"]."/templates_c/";
$this->config_dir = $_SERVER["DOCUMENT_ROOT"]."/configs/";
$this->cache_dir = $_SERVER["DOCUMENT_ROOT"]."/cache/";
$this->caching = false;
$this->compile_check = true;
}
}
?>
<?php
define("SMARTY_DIR",$_SERVER["DOCUMENT_ROOT"]."/libs/");
require_once(SMARTY_DIR."Smarty.class.php");
$smarty = new Smarty();
class Smarty_System extends Smarty
{
function Smarty_System()
{
$this->Smarty();
$this->template_dir = $_SERVER["DOCUMENT_ROOT"]."/templates/";
$this->compile_dir = $_SERVER["DOCUMENT_ROOT"]."/templates_c/";
$this->config_dir = $_SERVER["DOCUMENT_ROOT"]."/configs/";
$this->cache_dir = $_SERVER["DOCUMENT_ROOT"]."/cache/";
$this->caching = false;
$this->compile_check = true;
}
}
?>
A sto se tice chmod-a,molio bih za malo bolje objasnjenje.
Jos sa ovim glupim pitanjima vas udavim,i necu vise obecavam

SERVIA NOSTRUM REGNUM!