Project

General

Profile

« Previous | Next » 

Revision 13676

fix: web/index.php: directory index: don't append QUERY_STRING, as this is not used by /all

View differences:

trunk/web/index.php
244 244
# full directory index
245 245
# to fix bug, only display if invoked as "__.org/", not "__.org/index.php"
246 246
if (substr($_SERVER["SCRIPT_URI"], -1) === '/')
247
	fpassthru(fopen($_SERVER["SCRIPT_URI"]."all?".$_SERVER["QUERY_STRING"], "r"));
247
	fpassthru(fopen($_SERVER["SCRIPT_URI"]."all", "r"));
248 248
?>
249 249
	</body>
250 250
</html>

Also available in: Unified diff