From 699be46510f535a4a3241dc939c6654269e7a10b Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sun, 18 May 2008 17:50:14 +0000 Subject: [PATCH] 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 --- reference/phar/Phar/mount.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/phar/Phar/mount.xml b/reference/phar/Phar/mount.xml index f7965b7112..3d1663178d 100644 --- a/reference/phar/Phar/mount.xml +++ b/reference/phar/Phar/mount.xml @@ -1,5 +1,5 @@ - + Phar::mount @@ -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(); ?> ]]>