aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 2106ee0ac..cc4c74fb2 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -66,7 +66,7 @@ function profile_page_handler($page) {
if ($action == 'edit') {
// use the core profile edit page
- $base_dir = elgg_get_root_dir();
+ $base_dir = elgg_get_root_path();
require "{$base_dir}pages/profile/edit.php";
return;
}