From 7d3758fa0874d86f630cda51e16bf1cca697477b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Wed, 30 Jan 2008 23:50:23 +0000 Subject: [PATCH] - SPL has been changed --- ext/phar/phar_object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 09edd815f4..1b5cb494c6 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1061,7 +1061,9 @@ static int phar_build(zend_object_iterator *iter, void *puser TSRMLS_DC) } switch (intern->type) { case SPL_FS_DIR: -#if PHP_VERSION_ID >= 50300 +#if PHP_VERSION_ID >= 60000 + test = spl_filesystem_object_get_path(intern, NULL, NULL TSRMLS_CC).s; +#elif PHP_VERSION_ID >= 50300 test = spl_filesystem_object_get_path(intern, NULL TSRMLS_CC); #else test = intern->path; -- 2.50.1