cvs: phpdoc /en/reference/phar/Phar mount.xml
| From: | Greg Beaver | Date: | Sun, 18 May 2008 18:11:00 +0000 |
| Subject: | cvs: phpdoc /en/reference/phar/Phar mount.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1643@lists.php.net to get a copy of this message | ||
cellog Sun May 18 18:11:00 2008 UTC
Modified files:
/phpdoc/en/reference/phar/Phar mount.xml
Log:
fix Phar::running() usage
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/Phar/mount.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/phar/Phar/mount.xml
diff -u phpdoc/en/reference/phar/Phar/mount.xml:1.2 phpdoc/en/reference/phar/Phar/mount.xml:1.3
--- phpdoc/en/reference/phar/Phar/mount.xml:1.2 Sun May 18 17:50:14 2008
+++ phpdoc/en/reference/phar/Phar/mount.xml Sun May 18 18:11:00 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="phar.mount" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::mount</refname>
@@ -109,7 +109,7 @@
if (defined('EXTERNAL_CONFIG')) {
Phar::mount('config.xml', EXTERNAL_CONFIG);
} else {
- Phar::mount('config.xml', Phar::running(false) . '/default_config.xml');
+ Phar::mount('config.xml', Phar::running() . '/default_config.xml');
}
// now run the application
include 'phar://' . __FILE__ . '/index.php';