79636796

Date: 2025-05-24 13:04:21
Score: 1
Natty:
Report link

Here is solution of my question .

If you have issue with smarty root directory issue , you can use this, It's hundred percent working.

Thanks @ADyson

use Smarty\Smarty;
$smarty = new Smarty();
$smarty->setTemplateDir(__DIR__ . '/templates');
$smarty->setCompileDir(__DIR__ . '/templates_c');
$smarty->setCacheDir(__DIR__ . '/cache');
$smarty->setConfigDir(__DIR__ . '/cache');
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1.5): you can use
  • Has code block (-0.5):
  • User mentioned (1): @ADyson
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sanjay yadav