shane Sun Oct 19 17:19:54 2003 EDT
Modified files:
/php-src/main/streams plain_wrapper.c
Log:
finish file uri support, this stuff was unecessary.
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.26
php-src/main/streams/plain_wrapper.c:1.27
--- php-src/main/streams/plain_wrapper.c:1.26 Sun Oct 19 16:59:12 2003
+++ php-src/main/streams/plain_wrapper.c Sun Oct 19 17:19:54 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: plain_wrapper.c,v 1.26 2003/10/19 20:59:12 shane Exp $ */
+/* $Id: plain_wrapper.c,v 1.27 2003/10/19 21:19:54 shane Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -882,16 +882,6 @@
static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, char
*path, char *mode,
int options, char **opened_path, php_stream_context *context
STREAMS_DC TSRMLS_DC)
{
- char *filename = path;
- if (!strncasecmp(filename, "file:", sizeof("file:")-1)) {
- filename += 6;
- while (*(++filename)=='/');
-#ifdef PHP_WIN32
- if (*(filename + 1) != ':')
-#endif
- filename--;
- }
-
if ((options & USE_PATH) && PG(include_path) != NULL) {
return php_stream_fopen_with_path_rel(path, mode, PG(include_path),
opened_path, options);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php