diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-21 15:57:48 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-21 15:57:48 +0000 |
commit | 450b57bc95f405aebb1dc110bafc1b5def5041f4 (patch) | |
tree | cb3d05153bd49f4753aafa0becc3f3435fada021 /world.php | |
parent | 8b474ce9723b7d717c65415149de947fbedceeba (diff) | |
download | elgg-450b57bc95f405aebb1dc110bafc1b5def5041f4.tar.gz elgg-450b57bc95f405aebb1dc110bafc1b5def5041f4.tar.bz2 |
code cleanup
Diffstat (limited to 'world.php')
-rw-r--r-- | world.php | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -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'));
|