File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 3
3
?? ??? 2006, PHP 5.2.0
4
4
- Reimplementation of Apache2Filter, PHP can now be an arbitrary filter
5
5
in the chain and will read the script from the Apache stream. (John)
6
+ - Changed priority of PHPRC environment variable on win32 to be higher then
7
+ value from registry. (Dmitry)
6
8
- Changed __toString() to be called wherever applicable. (Marcus)
7
9
- Changed E_ALL error reporting mode to include E_RECOVERABLE_ERROR. (Marcus)
8
10
- Changed realpath cache to be disabled when "open_basedir" or "safe_mode"
Original file line number Diff line number Diff line change @@ -310,6 +310,14 @@ int php_init_config(TSRMLS_D)
310
310
free_ini_search_path = 1 ;
311
311
php_ini_search_path [0 ] = 0 ;
312
312
313
+ /* Add environment location */
314
+ if (env_location [0 ]) {
315
+ if (* php_ini_search_path ) {
316
+ strcat (php_ini_search_path , paths_separator );
317
+ }
318
+ strcat (php_ini_search_path , env_location );
319
+ }
320
+
313
321
#ifdef PHP_WIN32
314
322
/* Add registry location */
315
323
reg_location = GetIniPathFromRegistry ();
@@ -322,14 +330,6 @@ int php_init_config(TSRMLS_D)
322
330
}
323
331
#endif
324
332
325
- /* Add environment location */
326
- if (env_location [0 ]) {
327
- if (* php_ini_search_path ) {
328
- strcat (php_ini_search_path , paths_separator );
329
- }
330
- strcat (php_ini_search_path , env_location );
331
- }
332
-
333
333
/* Add cwd (only with CLI) */
334
334
if (strcmp (sapi_module .name , "cli" ) == 0 ) {
335
335
if (* php_ini_search_path ) {
You can’t perform that action at this time.
0 commit comments