Hi 

some files I'm using for layout and / or templates contain dots in their
name like 
layout/layout.home.phtml
or
facet.basic.html

After updating to the latest version of ZF2 (2.2) these files are no longer
resolved by TemplatePathStack

The error occurs here
            $file = new SplFileInfo($path . $name);
            if ($file->isReadable())

in the resolve method.

For me it's strange because - if I'm not wrong - SplFileInfo type should be
from standard PHP and not the ZF2 framework itself
(sorry I'm not really experienced with PHP) and I didn't updated my PHP
infrastructure (PHP 5.3.3 on CentOS) in between

When I change the name to something like 
layout/layouthome.phtml
they can be resolved.

Same result (error doesn't occur) when I'm going to switch back to another
branch running a former version of ZF2

Thanks for any hint

Günter




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/template-names-with-dots-in-name-aren-t-possible-after-Update-to-ZF2-2-2-tp4660031.html
Sent from the Zend Framework mailing list archive at Nabble.com.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to