function patterns_utils_is_fopenurl_enabled in Patterns 7
Same name and namespace in other branches
- 7.2 includes/utils.inc \patterns_utils_is_fopenurl_enabled()
Checks if current configuration of php enables open remote files for reading.
File
- includes/
utils.inc, line 130 - Collectiion of general purpose functions.
Code
function patterns_utils_is_fopenurl_enabled() {
return ini_get('allow_url_fopen') ? TRUE : FALSE;
}