public static function elggDir() { return Directory\Local::fromPath(realpath(__DIR__ . '/../../..')); }
/** * @access private */ function _elgg_config_test($hook, $type, $tests) { $tests[] = \Elgg\Application::elggDir()->getPath("engine/tests/ElggCoreConfigTest.php"); return $tests; }