aboutsummaryrefslogtreecommitdiff
path: root/settings/index.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 02:33:55 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 02:33:55 +0000
commit17c17807cc0b63d322d56acfae4f30399041cdb5 (patch)
treefe780bd74f828ab2fc9c107c0bb390f3a18b74c4 /settings/index.php
parent721763663962364485e5a9958854a6311f32298b (diff)
downloadelgg-17c17807cc0b63d322d56acfae4f30399041cdb5.tar.gz
elgg-17c17807cc0b63d322d56acfae4f30399041cdb5.tar.bz2
Standardized files
git-svn-id: http://code.elgg.org/elgg/trunk@3553 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'settings/index.php')
-rw-r--r--settings/index.php45
1 files changed, 22 insertions, 23 deletions
diff --git a/settings/index.php b/settings/index.php
index 736dfe4c7..b5a966dbb 100644
--- a/settings/index.php
+++ b/settings/index.php
@@ -1,25 +1,24 @@
<?php
- /**
- * Elgg user settings system index
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * Elgg user settings system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- // Get the Elgg framework
- require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
- if (!page_owner())
- set_page_owner($_SESSION['guid']);
-
- // Make sure we don't open a security hole ...
- if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
- set_page_owner($_SESSION['guid']);
- }
-
- // Forward to the user settings
- forward('pg/settings/user/' . page_owner_entity()->username . "/");
-
-?> \ No newline at end of file
+// Get the Elgg framework
+require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+
+if (!page_owner()) {
+ set_page_owner($_SESSION['guid']);
+}
+
+// Make sure we don't open a security hole ...
+if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
+ set_page_owner($_SESSION['guid']);
+}
+
+// Forward to the user settings
+forward('pg/settings/user/' . page_owner_entity()->username . "/"); \ No newline at end of file