From 524b3333b347006584e0406629562ff0ffbe40eb Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 11 Nov 2010 01:53:09 +0000 Subject: Refs #2637 moved canvas/layouts to layouts git-svn-id: http://code.elgg.org/elgg/trunk@7290 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib') 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); } } -- cgit v1.2.3