mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- MFH Added missing check for void param. (patch by Kalle)
This commit is contained in:
parent
9212a9584e
commit
e33a951c58
@ -1364,6 +1364,10 @@ PHP_FUNCTION(php_uname)
|
||||
Return comma-separated string of .ini files parsed from the additional ini dir */
|
||||
PHP_FUNCTION(php_ini_scanned_files)
|
||||
{
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (strlen(PHP_CONFIG_FILE_SCAN_DIR) && php_ini_scanned_files) {
|
||||
RETURN_STRING(php_ini_scanned_files, 1);
|
||||
} else {
|
||||
@ -1376,6 +1380,10 @@ PHP_FUNCTION(php_ini_scanned_files)
|
||||
Return the actual loaded ini filename */
|
||||
PHP_FUNCTION(php_ini_loaded_file)
|
||||
{
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (php_ini_opened_path) {
|
||||
RETURN_STRING(php_ini_opened_path, 1);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user