Project

General

Profile

« Previous | Next » 

Revision 7910

web/vegpath/index.php: Added custom_separator()

View differences:

web/vegpath/index.php
33 33
	}
34 34
}
35 35

  
36
function custom_separator($url, $sep)
37
{
38
	return function($path) use($url, $sep)
39
	{
40
		$path = parse_dot_path($path);
41
		return $url.join_non_empty($sep, array($path->head, $path->tail));
42
	};
43
}
44

  
36 45
function fragment_override($url, $fragment=null)
37 46
{
38 47
	return function($path) use($url, $fragment)

Also available in: Unified diff