static function get_ROOT_DIR() { if (zcale_core_path_targets_ServerPath::$rootDir === null) { zcale_core_path_targets_ServerPath::$rootDir = zcale_PathTools::removeEndDelimiter(Sys::getCwd(), null); } return zcale_core_path_targets_ServerPath::$rootDir; }
static function splitPath($path, $delimiter = null) { if ($delimiter === null) { $delimiter = "/"; } $path = zcale_PathTools::removeFrontDelimiter($path, $delimiter); $path = zcale_PathTools::removeEndDelimiter($path, $delimiter); return _hx_explode($delimiter, $path); }