mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix misleading include to match what a stub should look like
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259927 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4f08be019b
commit
699be46510
1 changed files with 3 additions and 2 deletions
|
@ -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 @@ if (defined('EXTERNAL_CONFIG')) {
|
|||
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>
|
||||
|
|
Loading…
Reference in a new issue