Quote:
Originally Posted by Swedie
thanks, but CURRENT_DIR is empty when I try to echo it with: echo CURRENT_DIR();
It gives me: Fatal error: Call to undefined function: current_dir() in /home/sporthoj.com/www/www.sporthoj.com/top.php on line 16
and I am not returned to the original dir.
so apparently vB also unsets any define values as well?
I am using vBulletin v3.0 RC2.
There has to be a way?
|
constants are CaSe SenSiTive. A define() is a creation of a CONSTANT, and thus don't treat it as a function (never add () after it), as well making sure you're using the exact same, case-sensitive name.