aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icondirect.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 14:45:28 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 14:45:28 +0000
commit7b1b9e6b9b91db3fcfb4f252b7de6fe809ac533b (patch)
treec04f104a93f88c7d75da257d7734307b44f7ddd8 /mod/profile/icondirect.php
parente744bf84bf766c720c92ff64ce5381de531db722 (diff)
downloadelgg-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/icondirect.php')
-rw-r--r--mod/profile/icondirect.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php
index 497420f55..40bfdf98a 100644
--- a/mod/profile/icondirect.php
+++ b/mod/profile/icondirect.php
@@ -82,6 +82,7 @@
ob_start();
include(dirname(dirname(dirname(__FILE__))).'/simplecache/view.php');
$loc = ob_get_clean();
+ echo $loc;
header('Location: ' . $loc);
exit;
//$contents = @file_get_contents(dirname(__FILE__) . "/graphics/default{$size}.jpg");
@@ -95,6 +96,9 @@
}
} else {
mysql_close($mysql_dblink);
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ set_input('username',$username);
+ set_input('size',$size);
require_once(dirname(__FILE__).'/icon.php');
}
?> \ No newline at end of file