aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 12:22:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 12:22:09 +0000
commit2d61fca50b21d7536bead7f833c716b8009c60a8 (patch)
treea96c67e3b811b1261ed650258a65e22b981379ed /engine/lib/elgglib.php
parentedae79eba5040b2e5b71927722a5971691288bbb (diff)
downloadelgg-2d61fca50b21d7536bead7f833c716b8009c60a8.tar.gz
elgg-2d61fca50b21d7536bead7f833c716b8009c60a8.tar.bz2
The pageshell now correctly passes elements to the header, footer etc.
git-svn-id: https://code.elgg.org/elgg/trunk@159 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index e38288ac1..a561172f1 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -53,9 +53,8 @@
* @return string The HTML content
*/
function elgg_view($view, $vars = "", $viewtype = "", $debug = false) {
-
+
global $CONFIG, $strings;
-
static $usercache;
if (!is_array($usercache)) {
$usercache = array();
@@ -99,7 +98,6 @@
} else {
$viewlist = array(500 => $view);
}
-
ob_start();
foreach($viewlist as $priority => $view) {