php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #48831
Patch ScanIniDir revision 2010-04-12 15:23 UTC by rquadling@php.net

Patch ScanIniDir for CGI/CLI related Bug #48831

Patch version 2010-04-12 15:23 UTC

Return to Bug #48831 | Download this patch
Patch Revisions:

Developer: rquadling@php.net

Index: php_cli.c
===================================================================
--- php_cli.c	(revision 297905)
+++ php_cli.c	(working copy)
@@ -100,6 +100,7 @@
 #endif
 
 PHPAPI extern char *php_ini_opened_path;
+PHPAPI extern char *php_ini_scanned_path;
 PHPAPI extern char *php_ini_scanned_files;
 
 #ifndef O_BINARY
@@ -1372,7 +1373,7 @@
 				{
 					zend_printf("Configuration File (php.ini) Path: %s\n", PHP_CONFIG_FILE_PATH);
 					zend_printf("Loaded Configuration File:         %s\n", php_ini_opened_path ? php_ini_opened_path : "(none)");
-					zend_printf("Scan for additional .ini files in: %s\n", *PHP_CONFIG_FILE_SCAN_DIR ? PHP_CONFIG_FILE_SCAN_DIR : "(none)");
+					zend_printf("Scan for additional .ini files in: %s\n", php_ini_scanned_path  ? php_ini_scanned_path : "(none)");
 					zend_printf("Additional .ini files parsed:      %s\n", php_ini_scanned_files ? php_ini_scanned_files : "(none)");
 					break;
 				}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC