Issues

ZF-6339: Invalid statement in example - Sample View resource configuration (4.7)

Description

The example Sample View resource configuration (4.7) contains an incorrect statement.

resources.view.basePath = APPLICATION_PATH "/views/scripts"

The statement is missing a period bwtween APPLICATION_PATH and "/views/scripts" like the example below.

resources.view.basePath = APPLICATION_PATH . "/views/scripts"

Comments

Fixed in SVN 15010

Mickael, please revert the change.

When constants are used in configuration files, they create an implied concatenation. The original as correct.

In example 4.2, earlier on in the same page it uses a period after the constant. I was baseing my issue upone that. I think one of them must be wrong here?

resources.frontController.controllerDirectory = APPLICATION_PATH . "/controllers"

Reverted in SVN 15031