Log in

View Full Version : AdminCP/ModCP directories


Koroku
04-13-2008, 03:17 AM
Hi.

I'm working on a hack that uses mainly a hook in postbit, and adds links to the AdminCP/ModCP.

I'm trying to figure out a way to grab the variables from the config file - the only options I was able to find was $admincpdir and $modcpdir, which didn't work at all.


Someone able to help me? :)

Boofo
04-13-2008, 03:38 AM
ok, you owe me on this one.

Just make them global like you did vbulletin.

Koroku
04-13-2008, 04:13 AM
Well that's simple enough.

Thanks~ :o

And just for you, I'm adding a special option!