]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2578 - entity pages should not need call to load engine
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 22 Oct 2010 11:22:49 +0000 (11:22 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 22 Oct 2010 11:22:49 +0000 (11:22 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7117 36083f99-b078-4883-b0ff-0f9b5a30f544

pages/entities/index.php
pages/entities/list.php

index 68018bffffc3facd015389563f9140bf29b0e34d..85a5964319d6c042c735d65b168bfc8181307f23 100644 (file)
@@ -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');
index 280336cef3e694a15b1ce0a5fd8d18934ff5e244..b6f091f42ed78b4e4ab1c4434f3621fae5d04cc6 100644 (file)
@@ -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');