This is the easiest way to install Smarty. The point is that you need to load the Smarty.class.php file in every PHP file that uses Smarty templates, so if you have it in one folder of the PHP include path, you can create a Smarty instance for it by:
<?php
require('Smarty.class.php');
$smarty = new Smarty;
?>
can’t catch up with this part"so if you have it in one folder of the PHP include path, you can create a Smarty instance for it by:…"
anyone can explain it for me?thank you.