Reference variable encryption_key from config |
[eluser]spheroid[/eluser]
I need to use the $config['encryption_key'] variable I've set in file application/config/config.php. I need to do this in a controller and a model each for registration and authentication for login. How can I reference this variable without having to put this in each my controller and model: Code: $salt = "RANDOM STRING"; Thanks in advance!
[eluser]spheroid[/eluser]
Nevermind, answered here: http://ellislab.com/forums/viewthread/62303/ |
Welcome Guest, Not a member yet? Register Sign In |