/** * Returns $path with added terminating slash (corrected for Windows or other OS). * * @param string $path Path to check * @return string Path with ending slash * @access public * @static */ function slashTerm($path) { if (GummFolder::isSlashTerm($path)) { return $path; } return $path . GummFolder::correctSlashFor($path); }