Assuming you’re using the method demonstrated in the Zend Framework Manual, the first thing you need is to configure the Zend AutoLoader. Add this to the index.php file in your public directory:
// Configure autoloader
require_once ‘Zend/Loader/Autoloader.php’;
$autoloader = Zend_Loader_Autoloader::getInstance();
// Require Smarty Engine
require_once ‘Smarty/Smarty.class.php’; // Assuming that you have the Smarty engine at “library/Smarty”
$autoloader->pushAutoloader(‘Smarty’, ’smartyAutoload’);
Change the following line [...]