aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/users.php2
-rw-r--r--pages/dashboard/index.php (renamed from dashboard/index.php)3
-rw-r--r--pages/dashboard/latest.php (renamed from dashboard/latest.php)2
-rw-r--r--views/default/dashboard/blurb.php2
4 files changed, 3 insertions, 6 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 5c2ac7731..5d16decb7 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1176,7 +1176,7 @@ function collections_page_handler($page_elements) {
* Page handler for dashboard
*/
function dashboard_page_handler($page_elements) {
- require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/pages/dashboard/index.php");
}
diff --git a/dashboard/index.php b/pages/dashboard/index.php
index 174869cec..26b811ce9 100644
--- a/dashboard/index.php
+++ b/pages/dashboard/index.php
@@ -8,9 +8,6 @@
* @link http://elgg.org/
*/
-// Get the Elgg engine
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
// Ensure that only logged-in users can see this page
gatekeeper();
diff --git a/dashboard/latest.php b/pages/dashboard/latest.php
index c1a3d3db5..f746820b1 100644
--- a/dashboard/latest.php
+++ b/pages/dashboard/latest.php
@@ -11,7 +11,7 @@
/**
* Start the Elgg engine
*/
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
// Load the front page
global $CONFIG;
diff --git a/views/default/dashboard/blurb.php b/views/default/dashboard/blurb.php
index 4b71e70e1..d4f9cfd43 100644
--- a/views/default/dashboard/blurb.php
+++ b/views/default/dashboard/blurb.php
@@ -19,6 +19,6 @@
?>
</p>
<p>
- <a href="<?php echo $vars['url']; ?>dashboard/latest.php"><?php echo elgg_echo('content:latest:blurb'); ?></a>
+ <a href="<?php echo $vars['url']; ?>pages/dashboard/latest.php"><?php echo elgg_echo('content:latest:blurb'); ?></a>
</p>
</div> \ No newline at end of file