diff options
author | Marcus Boerger <helly@php.net> | 2004-10-30 14:34:43 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-10-30 14:34:43 +0000 |
commit | 9dcce367e05b16c3c0d516d4beb5a12a522bc0f4 (patch) | |
tree | dce62b242a7868f42d516199c9380f48bc1c1a36 | |
parent | e2ba10a727f038b236b9eede74af8f0bf4f9ec58 (diff) | |
download | php-git-9dcce367e05b16c3c0d516d4beb5a12a522bc0f4.tar.gz |
WS (ups)
-rwxr-xr-x | ext/spl/spl_directory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index da063f7736..3cbd2cacc9 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -121,6 +121,7 @@ static zend_object_value spl_ce_dir_object_new(zend_class_entry *class_type TSRM static void spl_ce_dir_open(spl_ce_dir_object* intern, char *path TSRMLS_DC) { int path_len = strlen(path); + intern->dirp = php_stream_opendir(path, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); if (path_len && (path[path_len-1] == '/' || path[path_len-1] == '\\')) { |