aboutsummaryrefslogtreecommitdiff
path: root/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'world.php')
-rw-r--r--world.php18
1 files changed, 7 insertions, 11 deletions
diff --git a/world.php b/world.php
index 2e80f5393..d5dbf1f2a 100644
--- a/world.php
+++ b/world.php
@@ -1,25 +1,21 @@
<?php
/**
- * Elgg file browser
+ * Tidypics View All Albums on Site
*
- * @package ElggFile
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
*/
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);
$tag = get_input("tag");
// Get the current page's owner
- $page_owner = page_owner_entity();
- if ($page_owner === false || is_null($page_owner)) {
- $page_owner = $_SESSION['user'];
- set_page_owner($_SESSION['guid']);
- }
+ $page_owner = page_owner_entity();
+ if ($page_owner === false || is_null($page_owner)) {
+ $page_owner = $_SESSION['user'];
+ set_page_owner($_SESSION['guid']);
+ }
// Get objects
$area2 = elgg_view_title($title = elgg_echo('album:all'));