diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 14:45:28 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 14:45:28 +0000 |
commit | 7b1b9e6b9b91db3fcfb4f252b7de6fe809ac533b (patch) | |
tree | c04f104a93f88c7d75da257d7734307b44f7ddd8 /mod/profile/icon.php | |
parent | e744bf84bf766c720c92ff64ce5381de531db722 (diff) | |
download | elgg-7b1b9e6b9b91db3fcfb4f252b7de6fe809ac533b.tar.gz elgg-7b1b9e6b9b91db3fcfb4f252b7de6fe809ac533b.tar.bz2 |
Default icons are preserved.
git-svn-id: https://code.elgg.org/elgg/trunk@2922 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/icon.php')
-rw-r--r-- | mod/profile/icon.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/profile/icon.php b/mod/profile/icon.php index 347ace505..38a9dc1b2 100644 --- a/mod/profile/icon.php +++ b/mod/profile/icon.php @@ -39,7 +39,10 @@ if (!$success) {
global $CONFIG;
- $contents = @file_get_contents($CONFIG->pluginspath . "profile/graphics/default{$size}.jpg");
+ $path = elgg_view('icon/user/default/'.$size);
+ header("Location: {$path}");
+ exit;
+ //$contents = @file_get_contents($CONFIG->pluginspath . "profile/graphics/default{$size}.jpg");
}
|