fuel / parser

Fuel PHP Framework - v1.x template parser package adapters
http://fuelphp.com
64 stars 45 forks source link

Overriding View causes Parser to not load #28

Closed ShonM closed 13 years ago

ShonM commented 13 years ago

The solution, I found, was to make sure your extended View was still in the \Fuel\Core namespace.

@dhorrigan and I already chatted about this in IRC. I'm sure he's aware of the issue and its fix, if needed.

jschreuder commented 13 years ago

This is not a bug, if you extend View from Fuel\Core\View the Parser won't load, unless you use it directly from Parser\View. If you extend Fuel\Core you get Fuel\Core, if you want Parser\View you extend Parser\View.