# HG changeset patch # User jittat # Date 2008-04-04 13:38:21 # Node ID 092dd4df7102a1c19a843213b241570729121b3d # Parent 8ff8f19e9fbb5796f0d3b484fae75b42938ad6aa [web] temporary fixed on problem of reloading Configuration, when there are many mongrel processes git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@164 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/app/controllers/application.rb b/app/controllers/application.rb --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -24,6 +24,7 @@ return false end + Configuration.reload # check if run in single user mode if (Configuration[SINGLE_USER_MODE_CONF_KEY]) user = User.find(session[:user_id])