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