diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-11 01:53:09 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-11 01:53:09 +0000 |
commit | 524b3333b347006584e0406629562ff0ffbe40eb (patch) | |
tree | 41ebb23ac309ec3fd568af5b1c236c6b82c95083 /engine/lib/views.php | |
parent | ac49c026ebd257fabeb73e62afcc21b30fcfc169 (diff) | |
download | elgg-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/views.php')
-rw-r--r-- | engine/lib/views.php | 6 |
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); } } |