
index.php
<? include_once('Smarty/Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = '/'; $smarty->compile_dir = 'oko/'; $smarty->config_dir = '/'; $smarty->display('index.tpl'); ?>
index.tpl
cos.conf
Kod
zmienna = "oko"
i doopa nic się nie pokazuje
