summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-15 10:45:50 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-15 10:45:50 -0700
commitc077ad0775218e6aa8660ba97129ad74b5d54773 (patch)
tree665f2f378c585de2c16e70bf8accd2f6cc6aebe9 /lib/common.php
parenteb6a60ef8833d0a34768f2717f2a34fdcd52e5ce (diff)
Configurable avatar directory
Avatar directory and path are configurable.
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php
index b4e87445e..ab61c812f 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -108,7 +108,9 @@ $config =
'profile' =>
array('banned' => array()),
'avatar' =>
- array('server' => null),
+ array('server' => null,
+ 'dir' => INSTALLDIR . '/avatar/',
+ 'path' => $_path . '/avatar/'),
'public' =>
array('localonly' => true,
'blacklist' => array(),