aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:53:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:53:09 +0000
commit524b3333b347006584e0406629562ff0ffbe40eb (patch)
tree41ebb23ac309ec3fd568af5b1c236c6b82c95083 /engine/lib
parentac49c026ebd257fabeb73e62afcc21b30fcfc169 (diff)
downloadelgg-524b3333b347006584e0406629562ff0ffbe40eb.tar.gz
elgg-524b3333b347006584e0406629562ff0ffbe40eb.tar.bz2
Refs #2637 moved canvas/layouts to layouts
git-svn-id: http://code.elgg.org/elgg/trunk@7290 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/views.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 24b25ffd0..144595c50 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -951,10 +951,10 @@ function elgg_view_layout($layout_name, $vars = array()) {
$param_array = $vars;
}
- if (elgg_view_exists("canvas/layouts/{$layout_name}")) {
- return elgg_view("canvas/layouts/{$layout_name}", $param_array);
+ if (elgg_view_exists("layouts/{$layout_name}")) {
+ return elgg_view("layouts/{$layout_name}", $param_array);
} else {
- return elgg_view("canvas/default", $param_array);
+ return elgg_view("layouts/default", $param_array);
}
}