TIMENOW and access to it outside the Forum Software
I want to display a logout button to logged in users on my new custom homepage that I am writing. I have been able to recreate the logout hash, but since it is based off of appending "time()-" to the front, the value it gets is different than what the value would be when generated by login.php.
How do I get to the global TIMENOW variable that VB uses? Do I need to just include global.php into my application?
Is there another way to do this without including that entire file? Trying to avoid unnecessary bloat from 'over including' files.
TIA
|