Welcome Guest, Not a member yet? Register   Sign In
Problem accessing constants from controller
#1

[eluser]manuelpibe[/eluser]
Hey guys,
how do you access constants defined in constants.php from a controller?
#2

[eluser]jalalski[/eluser]
As you would any other constant.

echo FOPEN_READ;

will echo 'rb'
#3

[eluser]manuelpibe[/eluser]
Thanks Summer Student, that worked. My problem was that I was putting a $ in front of the constant.




Theme © iAndrew 2016 - Forum software by © MyBB