non security modules update

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-20 16:32:07 +02:00
parent 6a8d30db08
commit 37fbabab56
466 changed files with 32690 additions and 9652 deletions

View File

@@ -72,7 +72,7 @@ function hook_pathologic_alter(&$url_params, $parts, $settings) {
}
// If it's a path to a local image, make sure it's using our CDN server.
if (preg_match('~\.(png|gif|jpe?g)$', $url_params['path'])) {
if (preg_match('~\.(png|gif|jpe?g)$~', $url_params['path'])) {
$url_params['path'] = 'http://cdn.example.com/' . $url_params['path'];
$url_params['options']['external'] = TRUE;
}