summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-02 18:59:11 +0000
committerMarcus Boerger <helly@php.net>2006-02-02 18:59:11 +0000
commita266261eb6b4e154fe693abec7c1ba1315f50dde (patch)
tree0b6cc1d9335f292e54258f3e5782be1875e10e92 /ext
parent3a4a0e3cef107df18c127cde514391c7a3986810 (diff)
downloadphp-git-a266261eb6b4e154fe693abec7c1ba1315f50dde.tar.gz
- Fix oversight
Diffstat (limited to 'ext')
-rwxr-xr-xext/spl/spl_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 4ef272456b..cc5ba53a16 100755
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -1406,7 +1406,7 @@ SPL_METHOD(SplFileObject, __construct)
if (spl_filesystem_file_open(intern, use_include_path, 0 TSRMLS_CC) == SUCCESS) {
p1 = strrchr(intern->file_name, '/');
#if defined(PHP_WIN32) || defined(NETWARE)
- p2 = strrchr(path, '\\');
+ p2 = strrchr(intern->file_name, '\\');
#else
p2 = 0;
#endif