diff options
author | Greg Beaver <cellog@php.net> | 2008-09-30 13:25:48 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-09-30 13:25:48 +0000 |
commit | 41c95a030d0b7485528fd6c0d490685f40e21e6c (patch) | |
tree | 8bb327728080b35296cdad66f1a85aa2864562fc | |
parent | db5da11f8a6fc2426536d9359abbde4a08033283 (diff) | |
download | php-git-41c95a030d0b7485528fd6c0d490685f40e21e6c.tar.gz |
fix test (thanks Tony)
-rw-r--r-- | ext/phar/tests/files/blog.phar | bin | 468 -> 496 bytes | |||
-rw-r--r-- | ext/phar/tests/files/blog.phar.inc | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/phar/tests/files/blog.phar b/ext/phar/tests/files/blog.phar Binary files differindex 58c8a3bca7..9f0425db84 100644 --- a/ext/phar/tests/files/blog.phar +++ b/ext/phar/tests/files/blog.phar diff --git a/ext/phar/tests/files/blog.phar.inc b/ext/phar/tests/files/blog.phar.inc index 62d86c5c3f..0f2afe475d 100644 --- a/ext/phar/tests/files/blog.phar.inc +++ b/ext/phar/tests/files/blog.phar.inc @@ -4,7 +4,9 @@ $fname = dirname(__FILE__) . '/blog.phar'; @unlink($fname); $phar = new Phar($fname); -$phar->setStub('<?php if(file_exists(dirname(__FILE__) . "/files/config.xml")) { +$phar->setStub('<?php +Phar::interceptFileFuncs(); +if(file_exists(dirname(__FILE__) . "/files/config.xml")) { Phar::mount("config.xml", dirname(__FILE__) . "/files/config.xml"); } Phar::webPhar("blog", "index.php"); |