]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed a $CONFIG usage in css/screen view
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 15:32:17 +0000 (15:32 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 15:32:17 +0000 (15:32 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8327 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/css/screen.php

index 4e2306ce1bcbf6ee11a5500e8507610b0767c17c..300038eb9e440f2ac5ec5d09a76b8b42971ad02b 100644 (file)
@@ -8,7 +8,7 @@
 
 // check if there is a theme overriding the old css view and use it, if it exists
 $old_css_view = elgg_get_view_location('css');
-if ($old_css_view != "{$CONFIG->viewpath}") {
+if ($old_css_view != elgg_get_config('viewpath')) {
        echo elgg_view('css', $vars);
        return true;
 }