summaryrefslogtreecommitdiff
path: root/sapi/isapi/php4isapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/isapi/php4isapi.c')
-rw-r--r--sapi/isapi/php4isapi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c
index 5cc2ba0019..461b9287ca 100644
--- a/sapi/isapi/php4isapi.c
+++ b/sapi/isapi/php4isapi.c
@@ -20,12 +20,10 @@
#ifdef PHP_WIN32
# include <windows.h>
# include <process.h>
-# define SEPARATOR '\\'
#else
# define __try
# define __except(val)
# define __declspec(foo)
-# define SEPARATOR '/'
#endif
#include <httpext.h>
@@ -482,15 +480,6 @@ static void init_request_info(sapi_globals_struct *sapi_globals, LPEXTENSION_CON
} else {
SG(request_info).headers_only = 0;
}
- {
- char *path_end = strrchr(SG(request_info).path_translated, SEPARATOR);
-
- if (path_end) {
- *path_end = 0;
- V_CHDIR(SG(request_info).path_translated);
- *path_end = SEPARATOR;
- }
- }
if (!bFilterLoaded) { /* we don't have valid ISAPI Filter information */
SG(request_info).auth_user = SG(request_info).auth_password = NULL;
}