summaryrefslogtreecommitdiff
path: root/sapi/pi3web
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-08-20 22:18:19 +0000
committerZeev Suraski <zeev@php.net>2000-08-20 22:18:19 +0000
commit30ccec36b9a5b2e34fec171eb748a0386babad83 (patch)
tree3cc357d4a873487ccc0bac79d66acf5a0dc9f0e6 /sapi/pi3web
parentc7999595688422de96ed208c995cceca4d165c0c (diff)
downloadphp-git-30ccec36b9a5b2e34fec171eb748a0386babad83.tar.gz
Fix build
Diffstat (limited to 'sapi/pi3web')
-rw-r--r--sapi/pi3web/pi3web_sapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c
index a9099e0b11..08beb7ad11 100644
--- a/sapi/pi3web/pi3web_sapi.c
+++ b/sapi/pi3web/pi3web_sapi.c
@@ -306,8 +306,8 @@ static sapi_module_struct sapi_module = {
static void init_request_info(sapi_globals_struct *sapi_globals, LPCONTROL_BLOCK lpCB)
{
- char *path_end = strrchr(lpCB->lpszFileName, PHP_SEPARATOR);
- if ( path_end ) *path_end = PHP_SEPARATOR;
+ char *path_end = strrchr(lpCB->lpszFileName, PHP_DIR_SEPARATOR);
+ if ( path_end ) *path_end = PHP_DIR_SEPARATOR;
SG(server_context) = lpCB;
SG(request_info).request_method = lpCB->lpszMethod;