Hello guys,

I'm working on a mod and it's going to live in the admin/includes/modules/MYMOD/ folder I would like to know how I would findout the name of the admin folder if a user renames there admin folder name that this mod would still work.

I tride to use DIR_WS_ADMIN but it did not work... Any ideas?

This is the code that I'm trying to use:
PHP Code:
<img src="' . DIR_WS_ADMIN . 'includes/modules/MYMOD/images/' . $image . '" alt="" />