Trims path levels outside of this webspace directory from a file name.
public static function UnbDebug::TrimFilename ($fileName);
(string) Rooted file name to be trimmed. Relative (non-rooted) file names will not work!
(string) File name relative to this webspace's document root.
This makes a file name shorter, more relevant and doesn't reveal the absolute path on the web server should it be displayed to the public.
Member of class: UnbDebug
Implementation file: unb.class.php, line 111
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.