/** * Sets a relative path to use for resolving the basepath. * This is needed if the entry script is in a subdirectory, such as /admincp. * * @param $relpath */ public static function setRelativePath($relpath) { self::$relative_url = $relpath; }