getConfig("ApplicationPath"); */ $dirs = explode(":", get_include_path()); foreach ($dirs as $dir) { if (self::checkDir($dir, $classname)) return; } // evaluate base dir $dir = preg_replace("/.util.*/", "", __FILE__); self::checkDir($dir, $classname); } }