Project

General

Profile

« Previous | Next » 

Revision 7947

web/vegpath/index.php: Use $PATH_INFO (i.e. index.php/$PATH_INFO) instead of the query string to pass the path to index.php, so that the query string can be used for other things

View differences:

index.php
15 15
}
16 16

  
17 17
$h_level = 5;
18
$path = parse_dot_path($_SERVER["QUERY_STRING"]);
18
$path = parse_dot_path(rm_prefix("/", $_SERVER["PATH_INFO"]));
19 19
$ns = strtolower($path->head);
20 20

  
21 21
function add_ns($name, $path_pat, $url_func)

Also available in: Unified diff