This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SETLOCAL | |
REM Force UTF8 | |
chcp 65001 | |
REM Call the script again, as chcp doesn't affect THIS context. | |
CALL :UTF8ready %0 | |
GOTO Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main/main.c b/main/main.c | |
index 5942b23..e8171a5 100644 | |
--- a/main/main.c | |
+++ b/main/main.c | |
@@ -2244,6 +2244,12 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod | |
} | |
#endif | |
+ /* Activate SAPI specific section. */ | |
+ if (php_ini_has_per_sapi_config() && sapi_module.name) { |
NewerOlder