summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-09-30 13:25:48 +0000
committerGreg Beaver <cellog@php.net>2008-09-30 13:25:48 +0000
commit41c95a030d0b7485528fd6c0d490685f40e21e6c (patch)
tree8bb327728080b35296cdad66f1a85aa2864562fc
parentdb5da11f8a6fc2426536d9359abbde4a08033283 (diff)
downloadphp-git-41c95a030d0b7485528fd6c0d490685f40e21e6c.tar.gz
fix test (thanks Tony)
-rw-r--r--ext/phar/tests/files/blog.pharbin468 -> 496 bytes
-rw-r--r--ext/phar/tests/files/blog.phar.inc4
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/phar/tests/files/blog.phar b/ext/phar/tests/files/blog.phar
index 58c8a3bca7..9f0425db84 100644
--- a/ext/phar/tests/files/blog.phar
+++ b/ext/phar/tests/files/blog.phar
Binary files differ
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");