Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ningsuhen committed Dec 5, 2014
1 parent 1052c4c commit b6b3f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters.php
Expand Up @@ -23,7 +23,7 @@
$urls = preg_match_all("#\bhttps?://[^\s()<>]+(?:\([\w\d]+\)|[^[:punct:]\s]|/)#", $output, $matches);

foreach ($matches[0] as $uri)
if (strpos($uri,$Request::root())) {
if (strpos($uri,Request::root())) {
foreach (Config::get('simplecdn::rules') as $group)
if (@$group['enabled'] && preg_match('/\.(' . @$group['pattern'] . ')(?:[\?\#].*)?$/i', $uri, $matchess))
{
Expand Down

0 comments on commit b6b3f11

Please sign in to comment.