nette/nette — Issue #516: Wrong generating presenter template file when link to LIBS directory
Author: dlaex
Created: 2012-02-05 16:56:28+00:00
State: open

In case that there are many projects on server I use soft link to LIBS directory. In functions formatLayoutTemplateFiles() and formatTemplateFiles() there is a line $dir = dirname(dirname($this->getReflection()->getFileName())); that generates wrong filepath.

Example:

/projectA/libs/Nette/loader.php

/projectB/libs/ -> /projectA/libs/

In projectB $dir = /projectA/app !!!