svn: /phpdoc/en/trunk/reference/phar/Phar/ webPhar.xml
| From: | Sherif Ramadan | Date: | Mon, 26 Nov 2012 23:02:42 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/phar/Phar/ webPhar.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10772@lists.php.net to get a copy of this message | ||
googleguy Mon, 26 Nov 2012 23:02:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328509
Log:
Clarified language for callback return value to reflect either string or a boolean false.
Changed paths:
U phpdoc/en/trunk/reference/phar/Phar/webPhar.xml
Modified: phpdoc/en/trunk/reference/phar/Phar/webPhar.xml
===================================================================
--- phpdoc/en/trunk/reference/phar/Phar/webPhar.xml 2012-11-26 22:55:39 UTC (rev 328508)
+++ phpdoc/en/trunk/reference/phar/Phar/webPhar.xml 2012-11-26 23:02:42 UTC (rev 328509)
@@ -125,7 +125,7 @@
<term><parameter>rewrites</parameter></term>
<listitem>
<para>
- The rewrites function is passed a string as its only parameter and must return a
<type>string</type> or a <type>bool</type>.
+ The rewrites function is passed a string as its only parameter and must return a
<type>string</type> or &false;.
</para>
<para>
If you are using fast-cgi or cgi then the parameter passed to the function is the value of
the
@@ -133,7 +133,7 @@
of the <varname>$_SERVER['REQUEST_URI']</varname> variable.
</para>
<para>
- If a string is returned it is used as the internal file path. If a bool is returned then
webPhar() will
+ If a string is returned it is used as the internal file path. If &false; is returned
then webPhar() will
send a HTTP 403 Denied Code.
</para>
</listitem>