nuking that file was not very good idea :)

This commit is contained in:
foobar 2005-04-27 08:10:41 +00:00
parent 28e68301dc
commit 71adb81e96

View File

@ -4,11 +4,11 @@ compress.zlib:// wrapper
<?php
// Relative path
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "wb");
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "rb");
fclose($fp);
// Absolute path
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "wb");
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
fclose($fp);
echo "ok\n";