summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/common.php b/lib/common.php
index c6bc97d82..50d0110e2 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -45,13 +45,11 @@ $config =
'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'),
'avatar' =>
array('directory' => INSTALLDIR . '/avatar',
- 'path' => '/avatar'));
-
-# these depend on defaults above
-$config['avatar']['default'] =
- array('profile' => "http://".$config['site']['server'].$config['site']['path'].'/'.'theme/default/image/default-avatar-profile.png',
- 'stream' => "http://".$config['site']['server'].$config['site']['path'].'/'.'theme/default/image/default-avatar-stream.png',
- 'mini' => "http://".$config['site']['server'].$config['site']['path'].'/'.'theme/default/image/default-avatar-mini.png');
+ 'path' => '/avatar',
+ 'default' =>
+ array('profile' => 'theme/default/image/default-avatar-profile.png',
+ 'stream' => 'theme/default/image/default-avatar-stream.png',
+ 'mini' => 'theme/default/image/default-avatar-mini.png')));
$config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');