aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/admin.php4
-rw-r--r--engine/lib/configuration.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 06283d75e..a9a0382cc 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -459,11 +459,11 @@ function admin_plugin_screenshot_page_handler($pages) {
$plugin = new ElggPlugin($plugin_id);
if (!$plugin) {
- $file = elgg_get_root_dir() . '_graphics/icons/default/medium.png';
+ $file = elgg_get_root_path() . '_graphics/icons/default/medium.png';
} else {
$file = $plugin->getPath() . $filename;
if (!file_exists($file)) {
- $file = elgg_get_root_dir() . '_graphics/icons/default/medium.png';
+ $file = elgg_get_root_path() . '_graphics/icons/default/medium.png';
}
}
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php
index 4679a70d8..cbc083bd0 100644
--- a/engine/lib/configuration.php
+++ b/engine/lib/configuration.php
@@ -62,12 +62,12 @@ function elgg_get_data_path() {
}
/**
- * Get the root directory for this installation
+ * Get the root directory path for this installation
*
* @return string
* @since 1.8.0
*/
-function elgg_get_root_dir() {
+function elgg_get_root_path() {
global $CONFIG;
return $CONFIG->path;
}