Fix login redirect.
[pithos] / pithos / settings.py
index d26da09..61cb325 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2011 GRNET S.A. All rights reserved.
+# Copyright 2011-2012 GRNET S.A. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or
 # without modification, are permitted provided that the following
@@ -48,3 +48,5 @@ conf = join(PROJECT_PATH, 'settings.local')
 
 if exists(conf):
     execfile(conf)
+elif exists('/etc/pithos/settings.local'):
+    execfile('/etc/pithos/settings.local')