Searched defs:php_ini_scanned_path (Results 1 - 1 of 1) sorted by relevance

/PHP_5_4/main/
H A Dphp_ini.c72 PHPAPI char *php_ini_scanned_path=NULL; variable
598 php_ini_scanned_path = getenv("PHP_INI_SCAN_DIR");
599 if (!php_ini_scanned_path) {
601 php_ini_scanned_path = PHP_CONFIG_FILE_SCAN_DIR;
603 php_ini_scanned_path_len = strlen(php_ini_scanned_path);
617 if ((ndir = php_scandir(php_ini_scanned_path, &namelist, 0, php_alphasort)) > 0) {
631 if (IS_SLASH(php_ini_scanned_path[php_ini_scanned_path_len - 1])) {
632 snprintf(ini_file, MAXPATHLEN, "%s%s", php_ini_scanned_path, namelist[i]->d_name);
634 snprintf(ini_file, MAXPATHLEN, "%s%c%s", php_ini_scanned_path, DEFAULT_SLASH, namelist[i]->d_name);
674 /* Make sure an empty php_ini_scanned_path end
[all...]

Completed in 4 milliseconds