aboutsummaryrefslogtreecommitdiff
path: root/pages/entities
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-22 11:22:49 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-22 11:22:49 +0000
commit5b1c53b2d017e4a9f46e28ad9a00caa5af78b119 (patch)
tree53441f742e9b70224c45e3580b16ee40577920da /pages/entities
parent4a95ca377528cfbdaf1b3f052c6b57938a10a836 (diff)
downloadelgg-5b1c53b2d017e4a9f46e28ad9a00caa5af78b119.tar.gz
elgg-5b1c53b2d017e4a9f46e28ad9a00caa5af78b119.tar.bz2
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
Diffstat (limited to 'pages/entities')
-rw-r--r--pages/entities/index.php2
-rw-r--r--pages/entities/list.php2
2 files changed, 0 insertions, 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');