relative path to image

edited November 2010 in Vanilla 2.0 - 2.8
im creating an image element in my code for a plugin.
i need a way to get the url of the plugins directory. Ive tried the server docroot and pathroot
but these refer to the file paths not the url paths. Is there a way to get the url vanilla is installed in from php.

Comments

Sign In or Register to comment.