From 5b1c53b2d017e4a9f46e28ad9a00caa5af78b119 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 22 Oct 2010 11:22:49 +0000 Subject: Fixes #2578 - entity pages should not need call to load engine git-svn-id: http://code.elgg.org/elgg/trunk@7117 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/entities/index.php | 2 -- pages/entities/list.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/pages/entities/index.php b/pages/entities/index.php index 68018bfff..85a596431 100644 --- a/pages/entities/index.php +++ b/pages/entities/index.php @@ -9,8 +9,6 @@ * @link http://elgg.org/ */ -// Load Elgg engine -require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); // Get the GUID of the entity we want to view $guid = (int) get_input('guid'); diff --git a/pages/entities/list.php b/pages/entities/list.php index 280336cef..b6f091f42 100644 --- a/pages/entities/list.php +++ b/pages/entities/list.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); - set_context('search'); $area2 = elgg_list_entities(); set_context('entities'); -- cgit v1.2.3