Open
Description
Hey Team,
the sfCoreAutoload::make()
doesn't work.
https://github.com/FriendsOfSymfony1/symfony1/blob/master/lib/autoload/sfCoreAutoload.class.php
The preg_replace
needs the "old PHP array syntax":
preg_replace('/protected \$classes = array *\(.*?\);/s',
In the code the new syntax protected $classes = [***]
is used - without array.
So the preg_replace
fails.
Using
protected $classes = array(
'sfaction' => 'action/sfAction.class.php',
'sfactionstack' => 'action/sfActionStack.class.php',
'sfactionstackentry' => 'action/sfActionStackEntry.class.php',
fixes it.
Thx for support.
Metadata
Metadata
Assignees
Labels
No labels