From b6f7bc54710222c59a828aeb063870cc24aba54c Mon Sep 17 00:00:00 2001 From: filippo.bertilotti <filippobertilotti@gmail.com> Date: Mon, 22 Apr 2024 11:17:50 +0200 Subject: [PATCH] modifica path in ihtml per maggiore sicurezza --- htdocs/index.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 7cc1ad4..11ed93d 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -4,10 +4,10 @@ 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'); -- Gitblit v1.8.0