nrueckmann / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Smarty_Security class can not laoded with composer #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load smarty with composer
2. set up vendor/autoload.php in your project
3. Create a class that extends Smarty_Security

What is the expected output? What do you see instead?
There should no error, but "Fatal error: Class 'Smarty_Security' not found in 
..." displayed.

What version of the product are you using? On what operating system?
3.1.13

Please provide any additional information below.
File "sysplugins/smarty_security.php" must be added to autoload-section from 
composer.json. Else this won't work: 
http://www.smarty.net/docs/en/advanced.features.tpl

Original issue reported on code.google.com by falk.doe...@gmail.com on 21 Mar 2013 at 2:12

GoogleCodeExporter commented 8 years ago
The fix is now in the SVN trunk and will later be included in 3.1.14

Original comment by Uwe.Tews@googlemail.com on 17 Jun 2013 at 1:49