Hello Just to report a new problem with the Mustache parser in fuelphp 1.9-dev, PHP7 (in fuelphp 1.7, PHP5 it was working fine).
I want to use the ".html" extension, my view file is "views/auth/myview.html".
When I do: View::forge('auth/myview.mustache', $data, false)
=> I am getting the error: Fuel\Core\FuelException [ Error ]: The requested view could not be found: auth/myview.mustache.php COREPATH/classes/view.php @ line 492
My fuel/app/config/config.php is as followed: 'always_load' => array( 'packages' => array( ... 'parser' ), ),
In my composer.json: "require": { ... "mustache/mustache": "*", ... }
In my fuel/app/config/parser.php, I indicate the html extension: 'extensions' => array( ... 'mustache' => array('class' => 'View_Mustache', 'extension' => 'html'), ... )
It seems coming from the followed line in fuel/packages/parser/classes/view.php: "isset($extension) and $view->extension = $extension;" If I replace it like it was before, it works: "$extensionand$view->extension=$extension;"