PDA

View Full Version : Current Url?


high6
11-13-2009, 05:02 AM
I want to add a url to a generated post that goes to "http://myhost.com/forums/admincp/test.php". How do I get the "http://myhost.com/forums" part?

Adrian Schneider
11-13-2009, 06:25 AM
$vbulletin->options['bburl']

There's also a variable for the AdminCP dir you may want to use.