Project

General

Profile

« Previous | Next » 

Revision 8364

web/main/index.php: Updated path templates for new dotpath format (using ? instead of /)

View differences:

web/main/index.php
18 18

  
19 19
$h_level = 5;
20 20
$root = $_SERVER["SERVER_NAME"] === gethostbyaddr($_SERVER["SERVER_ADDR"])
21
	? $alias : $_SERVER["SERVER_NAME"].$self_dir;
21
	? $alias : $_SERVER["SERVER_NAME"].rm_suffix("/", $self_dir)."?";
22 22
# instead of PATH_INFO, to support the Apache ErrorDocument directive
23 23
$rel_fs_path = rm_prefix($self_dir, $_SERVER["REQUEST_URI"]);
24 24
$path = parse_dot_path($rel_fs_path);

Also available in: Unified diff