/** * Returns a directory that points to the root of Elgg, but not necessarily * the install root. See `self::root()` for that. * * @return Directory */ public static function elggDir() { return Directory\Local::fromPath(realpath(__DIR__ . '/../../..')); }