Issues

ZF-11578: Undefined function dir_exists in code example(Zend_Dojo_BuildLayer)

Description

There is undefined function in docs. In http://framework.zend.com/manual/en/… in section Generating Custom Module Layers with Zend_Dojo_BuildLayer checking for folder existence should be done like this:


if (!file_exists(dirname($filename))) {
    mkdir(dirname($filename));
}
file_put_contents($filename, $layerContents);

The undefined function is {{dir_exists}}.

Comments

Fixed in trunk and the 1.11 release branch -- thanks!