htdocs/index.php
@@ -1,3 +1,12 @@ <?php echo "ciao sono una stringa"; require '../vendor/autoload.php'; use Smarty\Smarty; $smarty = new Smarty(); $smarty->setTemplateDir('../ihtml'); $smarty->setCompileDir('../compile'); #$smarty->setCacheDir('../ihtml/smarty/cache'); $smarty->display('index.tpl'); echo 'index'; ?>