diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
commit | c5cc2821311012a8a4385a304a043c4b41f2afbb (patch) | |
tree | 3703351e4b5d56905eb52547d6129ffa14cb2a32 /settings/index.php | |
parent | 775a5f08c501acc565c69659022bc31052677485 (diff) | |
download | elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.gz elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.bz2 |
All line endings are now Unix-style.
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'settings/index.php')
-rw-r--r-- | settings/index.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/settings/index.php b/settings/index.php index 7bf02273a..736dfe4c7 100644 --- a/settings/index.php +++ b/settings/index.php @@ -9,17 +9,17 @@ */ // 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']);
- }
-
+ 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 . "/");
+ forward('pg/settings/user/' . page_owner_entity()->username . "/"); ?>
\ No newline at end of file |