From 221cfa4043a1e9423a6ed4222fb41ef68b8fd73d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 16 Apr 2010 10:16:59 -0400 Subject: db, sysenv, sisurc.yml determine whether to share sisu markup source in db --- lib/sisu/v2/sysenv.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb index 88195630..c857468f 100644 --- a/lib/sisu/v2/sysenv.rb +++ b/lib/sisu/v2/sysenv.rb @@ -2685,6 +2685,12 @@ WOK @rc=@@rc ||=Get_init.instance.yamlrc @defaults=Info_env.new.defaults end + def share_source? + ((defined? @rc['db']['share_source']) \ + && @rc['db']['share_source']==true) \ + ? @rc['db']['share_source'] \ + : false + end def engine def default ((defined? @rc['db']['engine']['default']) \ -- cgit v1.2.3