cvs: phpdoc /en/reference/phar/Phar mount.xml
| From: | Greg Beaver | Date: | Sun, 18 May 2008 17:50:14 +0000 |
| Subject: | cvs: phpdoc /en/reference/phar/Phar mount.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1642@lists.php.net to get a copy of this message | ||
cellog Sun May 18 17:50:14 2008 UTC
Modified files:
/phpdoc/en/reference/phar/Phar mount.xml
Log:
fix misleading include to match what a stub should look like
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/Phar/mount.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/phar/Phar/mount.xml
diff -u phpdoc/en/reference/phar/Phar/mount.xml:1.1 phpdoc/en/reference/phar/Phar/mount.xml:1.2
--- phpdoc/en/reference/phar/Phar/mount.xml:1.1 Fri May 2 04:36:22 2008
+++ phpdoc/en/reference/phar/Phar/mount.xml Sun May 18 17:50:14 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry xml:id="phar.mount" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::mount</refname>
@@ -112,7 +112,8 @@
Phar::mount('config.xml', Phar::running(false) . '/default_config.xml');
}
// now run the application
-include '/path/to/archive.phar';
+include 'phar://' . __FILE__ . '/index.php';
+__HALT_COMPILER();
?>
]]>
</programlisting>