function maintenance_exempt_get_urls in Maintenance Exempt 7
Same name and namespace in other branches
- 8 maintenance_exempt.module \maintenance_exempt_get_urls()
Extract an array of URL paths from the settings.
1 call to maintenance_exempt_get_urls()
File
- ./
maintenance_exempt.module, line 150 - Allow exemption of maintenance mode based on either certain set IP addresses or matching a set query string value.
Code
function maintenance_exempt_get_urls() {
$allowed_urls = variable_get('maintenance_exempt_urls');
return array_map('trim', explode("\n", $allowed_urls));
}