aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/screen.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/css/screen.php')
-rw-r--r--views/default/css/screen.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/css/screen.php b/views/default/css/screen.php
index 4e2306ce1..300038eb9 100644
--- a/views/default/css/screen.php
+++ b/views/default/css/screen.php
@@ -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;
}