Set config after env ins running to use an existing config namespace.

This commit is contained in:
Martin Edenhofer 2016-02-04 12:49:10 +01:00
parent be2a050890
commit 438bd42b8d

View file

@ -1,7 +1,7 @@
# This file is used by Rack-based servers to start the application.
# set config to do no self notification
Rails.configuration.webserver_is_active = true
require ::File.expand_path('../config/environment', __FILE__)
run Zammad::Application
# set config to do no self notification
Rails.configuration.webserver_is_active = true