| | |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | |
| | | $smarty->setTemplateDir('files_comuni/smarty/templates'); |
| | | $smarty->setConfigDir('files_comuni/smarty/configs'); |
| | | $smarty->setCompileDir('files_comuni/smarty/templates_c'); |
| | | $smarty->setCacheDir('files_comuni/smarty/cache'); |
| | | $smarty->setTemplateDir('../ihtml/smarty/templates'); |
| | | $smarty->setConfigDir('../ihtml/smarty/configs'); |
| | | $smarty->setCompileDir('../ihtml/smarty/templates_c'); |
| | | $smarty->setCacheDir('../ihtml/smarty/cache'); |
| | | $smarty->testInstall(); |
| | | |
| | | $smarty->assign('name', 'Filippo'); |