Browse Source

Updated settings docs.

Rafał Pitoń 11 years ago
parent
commit
e3c744baaa
2 changed files with 6 additions and 2 deletions
  1. 5 0
      docs/developers/settings.rst
  2. 1 2
      misago/conf/defaults.py

+ 5 - 0
docs/developers/settings.rst

@@ -184,6 +184,11 @@ MISAGO_ATTACHMENTS_ROOT
 Path to directory that Misago should use to store post attachments. This directory shouldn't be accessible from outside world.
 Path to directory that Misago should use to store post attachments. This directory shouldn't be accessible from outside world.
 
 
 
 
+MISAGO_AVATAR_SERVER_PATH
+-------------------------
+Url path that that all avatar server urls starts with. If you are running Misago subdirectory, make sure to update it (i.e. valid path for  "http://somesite.com/forums/" is ``/forums/user-avatar``).
+
+
 MISAGO_AVATAR_STORE
 MISAGO_AVATAR_STORE
 -------------------
 -------------------
 
 

+ 1 - 2
misago/conf/defaults.py

@@ -231,10 +231,9 @@ MISAGO_DYNAMIC_AVATAR_DRAWER = 'misago.users.avatars.dynamic.draw_default'
 # Keep sizes ordered from greatest to smallest
 # Keep sizes ordered from greatest to smallest
 MISAGO_AVATARS_SIZES = (400, 200, 150, 100, 64, 50, 30, 20)
 MISAGO_AVATARS_SIZES = (400, 200, 150, 100, 64, 50, 30, 20)
 
 
-
 # Path to avatar server
 # Path to avatar server
 # This path is used to detect avatar requests, which bypass most of
 # This path is used to detect avatar requests, which bypass most of
-# Request/response processing for performance reasons
+# Request/Response processing for performance reasons
 MISAGO_AVATAR_SERVER_PATH = '/user-avatar'
 MISAGO_AVATAR_SERVER_PATH = '/user-avatar'