aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/diagnostics/start.php2
-rw-r--r--mod/profile/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index d310684ba..c55b10483 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -86,7 +86,7 @@ function diagnostics_md5_dir($dir) {
*/
function diagnostics_sigs_hook($hook, $entity_type, $returnvalue, $params) {
- $base_dir = elgg_get_root_dir();
+ $base_dir = elgg_get_root_path();
$returnvalue .= elgg_echo('diagnostics:report:md5', array(diagnostics_md5_dir($base_dir)));
return $returnvalue;
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;
}