… | |
… | |
3759 | |
3759 | |
3760 | warn "unload completed, starting to reload now"; |
3760 | warn "unload completed, starting to reload now"; |
3761 | |
3761 | |
3762 | warn "reloading cf.pm"; |
3762 | warn "reloading cf.pm"; |
3763 | require cf; |
3763 | require cf; |
3764 | cf::_connect_to_perl; # nominally unnecessary, but cannot hurt |
3764 | cf::_connect_to_perl_1; |
3765 | |
3765 | |
3766 | warn "loading config and database again"; |
3766 | warn "loading config and database again"; |
3767 | cf::reload_config; |
3767 | cf::reload_config; |
3768 | |
3768 | |
3769 | warn "loading extensions"; |
3769 | warn "loading extensions"; |
… | |
… | |
3977 | } |
3977 | } |
3978 | } |
3978 | } |
3979 | |
3979 | |
3980 | # load additional modules |
3980 | # load additional modules |
3981 | require "cf/$_.pm" for @EXTRA_MODULES; |
3981 | require "cf/$_.pm" for @EXTRA_MODULES; |
|
|
3982 | cf::_connect_to_perl_2; |
3982 | |
3983 | |
3983 | END { cf::emergency_save } |
3984 | END { cf::emergency_save } |
3984 | |
3985 | |
3985 | 1 |
3986 | 1 |
3986 | |
3987 | |