1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00

Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk>

This commit is contained in:
Sean Bright
2001-04-09 20:56:49 +00:00
parent 466c226415
commit ec6f1887f8

View File

@@ -141,7 +141,7 @@ PHP_MINIT_FUNCTION(dir)
#endif
tmpstr[0] = DEFAULT_SLASH;
tmpstr[1] = '\0';
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, 0);
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, CONST_PERSISTENT);
return SUCCESS;
}