diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 14a2e4a25..e7bdbe665 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -347,7 +347,7 @@ $location = $CONFIG->viewpath;
$viewtype = elgg_get_viewtype();
$root = $location . $viewtype . '/' . $view_root;
- echo $root;
+
if (file_exists($root) && is_dir($root)) {
$val = get_views($root, $view_root);
if (!is_array($treecache[$view_root])) $treecache[$view_root] = array();
|