+class String
+ def capitalize
+ if self.length <= 1
+ self.upcase
+ else
+ self.split(//)[0].upcase + self..split(//)[1..-1].join("")
+ end
+ end
+end
+
+module LoginEngine
+ config :salt, "voothingboat"
+ config :email_from, MAIL_CONFIG[:from]
+end
+
+Engines.start :login
+
+# action mailer configuration
+ActionMailer::Base.delivery_method = :sendmail
+ActionMailer::Base.default_charset = "utf-8"