Separate names with a comma.
Comments in 'Plugin Development' started by Falk, Nov 25, 2013.
I can't get __FILE__ to work in a plugin. How can I get the path to the current plugin?
Use $[VARIABLE NAME HERE] = realpath();
Lol you like it. Did it work?
If it didn't work, try this: $blah = realpath($this . ".php");
I haven't had a chance to test it
Use DATA_PATH example: PHP: $worldfolder = DATA_PATH . 'worlds/';
$worldfolder = DATA_PATH . 'worlds/';
My way is better. Lol
Okay thanks