diff options
Diffstat (limited to 'ext/phar/tests/zip/notphar.phpt')
-rw-r--r-- | ext/phar/tests/zip/notphar.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/phar/tests/zip/notphar.phpt b/ext/phar/tests/zip/notphar.phpt index d7b79b0cb4..ff30a0c162 100644 --- a/ext/phar/tests/zip/notphar.phpt +++ b/ext/phar/tests/zip/notphar.phpt @@ -8,16 +8,16 @@ detect_unicode=0 zend.multibyte=0 --FILE-- <?php -$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; +$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip'; $pname = 'phar://' . $fname; -copy(dirname(__FILE__) . '/files/zip.zip', $fname); +copy(__DIR__ . '/files/zip.zip', $fname); include $fname; ?> ===DONE=== --CLEAN-- <?php -unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); +unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); __HALT_COMPILER(); ?> --EXPECTF-- |