Forums / Cotonti / Development / Q about stored vars and plugins

ez
#23968 2010-04-05 03:03
Hi all,
Is there a configuration variable available that points to the basedir of a plugin..

Now i do it like this:
$cfg['plugins_dir']."/ezchat"

But this is a tinybit hardcoded... :) I would like to use something like:

$cfg['plugins_dir'].['thisplugname'] or something...

is there something that does this..

thanks...

p.s. I am ceating a new chatplugin... called ezchat
==- I say: Keep it EZ -==