|
|
|
One way is explode the path and then loop through it doing a Zend::isReadable() for each path with the requested file, that is somewhat slow in my eyes, but it's the only solution I see for making this work.
Further analysis shows that the original behaviour was intentional. addScriptPath() can be used at any point to add additional view script paths to the view object. The reporter need only have done the following:
Unable to find source-code formatter for language: php. Available languages are: javascript, sql, xhtml, actionscript, none, html, xml, java $view->addScriptPath('/path/to/common/view/scripts');
Behaviour was intentional, and a way to do as the reporter desired already existed in the code.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Suggested patch v1