mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Constand should be case sensitive.
# Thanks Sterling
This commit is contained in:
@@ -141,7 +141,7 @@ PHP_MINIT_FUNCTION(dir)
|
||||
#endif
|
||||
tmpstr[0] = DEFAULT_SLASH;
|
||||
tmpstr[1] = '\0';
|
||||
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, CONST_PERSISTENT);
|
||||
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, CONST_CS|CONST_PERSISTENT);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user