ez |
|
---|---|
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 -==
|
Kilandor |
|
---|---|
Well as long as your in plug.php you could use the $e var, but you should just hardcode it anyways. There is no reason really end users should be renaming a plugin code anyways.
|
ez |
|
---|---|
Thanks kilandor... Just wanted to know somebodies opinion about this...
I prefer to code it, just like everybody else (the main programmers of cotonti) does (just want to follow the standards..) thnx I will hardcode it ==- I say: Keep it EZ -==
|