diff options
author | Greg Beaver <cellog@php.net> | 2008-02-07 23:42:03 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-02-07 23:42:03 +0000 |
commit | e67c584348beec3447e923a5ca8f1bfe78e94827 (patch) | |
tree | b1841e7a8b4def5f078ae169a04d654561fdcc5e /ext/phar/tests/frontcontroller6.phpt | |
parent | 7329e71eb54ec6aeaeae82be54f35053d280e622 (diff) | |
download | php-git-e67c584348beec3447e923a5ca8f1bfe78e94827.tar.gz |
[DOC]
refactor the $rewrites parameter in Phar::webPhar. Now it is a callback
that accepts the path requested. This callback should return the actual filename
requested as a string, or false to deny access as HTTP 403.
Also fix incorrect munging of SCRIPT_NAME variable in mungServer
More importantly, Phar::webPhar now finds the filename hidden in:
http://localhost/myphar.phar/internal/file.php/extra/stuff
as 'internal/file.php' in phar 'myphar.phar' with REQUEST_URI '/internal/file.php/extra/stuff'
this will allow pharring up apps that use REQUEST_URI for front controller stuff.
Diffstat (limited to 'ext/phar/tests/frontcontroller6.phpt')
-rw-r--r-- | ext/phar/tests/frontcontroller6.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/frontcontroller6.phpt b/ext/phar/tests/frontcontroller6.phpt index 7ec367285f..8e5d87a1be 100644 --- a/ext/phar/tests/frontcontroller6.phpt +++ b/ext/phar/tests/frontcontroller6.phpt @@ -13,7 +13,7 @@ Status: 404 Not Found --EXPECT-- <html> <head> - <title>File Not Found<title> + <title>File Not Found</title> </head> <body> <h1>404 - File /notfound.php Not Found</h1> |