noiselabs / SmartyBundle

Smarty3 template engine bundle for Symfony
http://smartybundle.readthedocs.io/
GNU Lesser General Public License v3.0
51 stars 36 forks source link

Required File Smarty.class.php #19

Closed jsheuberger closed 12 years ago

jsheuberger commented 12 years ago

Symfony 2.1 uses composer, and the Smarty class can be autoloaded automatically. The service file smarty.xml, contains an obsolete reference to Smarty.class.php file. This file is no longer necessarily on the include path, and can cause issues.

I guess I would recommend to remove the file requirement for recent version... I solved my issues by commenting out the file reference for now...

noiselabs/smarty-bundle/NoiseLabs/Bundle/SmartyBundle/Resources/config/smarty.xml

%smarty.class_file%
vitorbrandao commented 12 years ago

Great, thanks, I'll check it later today.