I don't know why Jan used this kind of path detecting mechanizm in the first plugin published and now everyone is using it as an example, because code$root_path = (!eregi("\/plugins\/", $HTTP_SERVER_VARS['PHP_SELF'])) ? "./../" : "./../../";
define('ROOT_PATH', $root_path);
should be simplier and does not require plugin folder detection at all:define('ROOT_PATH', "./../../");