Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-11-22 09:41:49 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-22 10:17:12 +0400
commit3178109ca1d61cde8371426096767141f732428d (patch)
tree09bcf07ec49752148de90fca5b546a9921479724 /core/Theme.php
parent48a733b3c8c133af1960ce23dd4d23dcca5a7a04 (diff)
Enabling Morpheus Theme in a branch to see generated UI screenhots tests refs #4127
Diffstat (limited to 'core/Theme.php')
-rw-r--r--core/Theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Theme.php b/core/Theme.php
index 1efcc4f70a..76fdd57303 100644
--- a/core/Theme.php
+++ b/core/Theme.php
@@ -59,10 +59,10 @@ class Theme
'~(src|href)=[\'"]([^\'"]+)[\'"]~',
// rewrite images in CSS files, i.e. url(plugins/Morpheus/overrides/themes/default/images/help.png);
- '~(url\()[\'"]([^\)]?[themes|plugins]+[^\)]+[.jpg|png|gif]?)[\'"][\)]~',
+ '~(url\()[\'"]([^\)]?[themes|plugins]+[^\)]+[.jpg|png|gif|svg]?)[\'"][\)]~',
// rewrites images in JS files
- '~(=)[\s]?[\'"]([^\'"]+[.jpg|.png|.gif]?)[\'"]~',
+ '~(=)[\s]?[\'"]([^\'"]+[.jpg|.png|.gif|svg]?)[\'"]~',
);
return preg_replace_callback($pattern, array($this,'rewriteAssetPathIfOverridesFound'), $output);
}