Created
March 6, 2012 09:40
-
-
Save j0k3r/1985336 to your computer and use it in GitHub Desktop.
`loadHelpers` without using `sfContext::getInstance()`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// instead of using | |
sfContext::getInstance()->getConfiguration()->loadHelpers('Url'); | |
// use | |
sfApplicationConfiguration::getActive()->loadHelpers(array('Url')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment