aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/html_promo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/html_promo.rb')
-rw-r--r--lib/sisu/v4/html_promo.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v4/html_promo.rb b/lib/sisu/v4/html_promo.rb
index 387da244..2cde2a44 100644
--- a/lib/sisu/v4/html_promo.rb
+++ b/lib/sisu/v4/html_promo.rb
@@ -62,9 +62,9 @@ module SiSU_HTML_Promo
def initialize(md)
@md=md
@env=SiSU_Env::InfoEnv.new(@md.fns,@md)
- @rc=SiSU_Env::GetInit.instance.sisu_yaml.rc
- @ad=SiSU_Env::GetInit.instance.ads
- @vz=SiSU_Env::GetInit.instance.skin
+ @rc=SiSU_Env::GetInit.new.sisu_yaml.rc
+ @ad=SiSU_Env::GetInit.new.ads
+ @vz=SiSU_Env::GetInit.new.skin
@flag=@env.widget.promo?
@make=SiSU_Env::ProcessingSettings.new(@md)
end