aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:43:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:43:30 +0000
commit03d72f274011422865fab69b4a6210c77a97eabe (patch)
tree3aee11b477080af99f75972cecd2e005dd42083f /engine/lib/admin.php
parentb5a87393452a7dc77cbaa52e3209bc25e0c22e79 (diff)
downloadelgg-03d72f274011422865fab69b4a6210c77a97eabe.tar.gz
elgg-03d72f274011422865fab69b4a6210c77a97eabe.tar.bz2
Fixes #3250 elgg_get_root_path() to be consistent
git-svn-id: http://code.elgg.org/elgg/trunk@8863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php4
1 files changed, 2 insertions, 2 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';
}
}