htdocs/index.php
@@ -1,3 +1,23 @@ <?php echo "ciao sono una stringa"; require '../vendor/autoload.php'; use Smarty\Smarty; $smarty = new Smarty(); $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'); $smarty->display('prova.tpl'); echo "ciao sono una stringa"; ?>