public static function relativePath($path)
    {
        $base = self::normalizePath(Director::baseFolder());
        
        return substr($path, strlen($base));
    }
public static function relativePath($path)
    {
        $base = self::normalizePath(Director::baseFolder());
        
        return substr($path, strlen($base));
    }
public static function relativePath ( $ path ) { $ base = self :: normalizePath ( Director :: baseFolder ( ) ) ; return substr ( $ path , strlen ( $ base ) ) ; }
Helper function to make normalized paths relative

@param string

@return string
Helper function to make normalized paths relative