Unable to specify a layout with relative path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AuthPuppy |
New
|
Undecided
|
Unassigned |
Bug Description
(possibly a symfony bug, but there's almost no hope getting that fixed there due to symfony2 being out)
I wanted to specify a different layout in frontend/
in the function setDecoratorTem
Please replace
if (!strpos($template, '.'))
{
$template .= $this->
}
by
if (strpos($template, '.') === FALSE)
{
$template .= $this->
}
This is the recommended PHP syntax for strpos - see the warning under Return Values at http://
Has this bug been recorded on the Symfony Trac?
Also I think we should update symfony to 1.4.16, as they have fixed quite a few bugs since we started... http:// www.symfony- project. org/installatio n/1_4/changelog