Smarty include path error
Brought to you by:
mostron8
The Smarty include path is hard-coded into include/smarty.php in a distribution-specific nature.
/usr/local/lib/php/Smarty/Smarty.class.php
is specific to RH/FC/CentOS. On my OpenSuSE 10.2 box, it's
/usr/share/php5/Smarty/Smarty.class.php.
As long as the Smarty/ directory is within PHP_INCLUDE_PATH, the require() statement should just be:
require('Smarty/Smarty.class.php');