diff --git a/e107_core/shortcodes/single/stylesheet.sc b/e107_core/shortcodes/single/stylesheet.sc index 529d1bc18..04f741e02 100644 --- a/e107_core/shortcodes/single/stylesheet.sc +++ b/e107_core/shortcodes/single/stylesheet.sc @@ -1,5 +1,7 @@ // $Id$ +global $THEMES_DIRECTORY; + $css = file_get_contents(THEME."style.css"); $search = array("url(images","url('images"); $replace[0] = "url(".SITEURL.$THEMES_DIRECTORY.$pref['sitetheme']."/images";