fix path to default avatars

darcs-hash:20080521154234-84dde-e83305636b6bc2bb158db8588838c8b62b1b7af0.gz
This commit is contained in:
Evan Prodromou 2008-05-21 11:42:34 -04:00
parent 2fa7ab2f44
commit 12a58d87e8

View File

@ -45,12 +45,13 @@ $config =
'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'), 'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'),
'avatar' => 'avatar' =>
array('directory' => INSTALLDIR . '/avatar', array('directory' => INSTALLDIR . '/avatar',
'path' => '/avatar', 'path' => '/avatar'));
'default' =>
array('profile' => INSTALLDIR .'theme/default/image/default-avatar-profile.png', # these depend on defaults above
'stream' => INSTALLDIR .'theme/default/image/default-avatar-stream.png', $config['avatar']['default'] =
'mini' => INSTALLDIR .'theme/default/image/default-avatar-mini.png')) 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');
$config['db'] = &PEAR::getStaticProperty('DB_DataObject','options'); $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');