function search_files_issafemode in Search Files 7.2
Same name and namespace in other branches
- 6.2 search_files.module \search_files_issafemode()
Checks whether we are running in PHP safe_mode.
Return value
1 if we're in safe mode, 0 if not, FALSE if there's an error.
3 calls to search_files_issafemode()
- search_files_directories_update_index in ./
search_files_directories.module - Implements hook_update_index().
- search_files_helper_list in ./
search_files.module - Returns an HTML table of the current helper apps set up in the system.
- search_files_install_auto_helper_app_configuration in ./
search_files.module - Detects helper applications and adds to database.
File
- ./
search_files.module, line 242 - Organizes and provides helper functions for extracting text from files.
Code
function search_files_issafemode() {
return preg_match('/(1|on)/i', @ini_get("safe_mode"));
}