/** * **Normalize a path by filtering through `realpath`. * * _Adds a trailing backslash._ * * @param $path * * @return string */ public static function normalize_path($path) { return Lib::strip_tail('/', realpath($path)) . '/'; }