aboutsummaryrefslogtreecommitdiff
path: root/world.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-21 15:57:48 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-21 15:57:48 +0000
commit450b57bc95f405aebb1dc110bafc1b5def5041f4 (patch)
treecb3d05153bd49f4753aafa0becc3f3435fada021 /world.php
parent8b474ce9723b7d717c65415149de947fbedceeba (diff)
downloadelgg-450b57bc95f405aebb1dc110bafc1b5def5041f4.tar.gz
elgg-450b57bc95f405aebb1dc110bafc1b5def5041f4.tar.bz2
code cleanup
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'));