aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-18 21:28:53 -0400
committerRalph Amissah <ralph@amissah.com>2013-03-18 21:28:53 -0400
commit9c67621585e202a34b017a69118a652fe605440d (patch)
tree1d43a44ee44429858ff7401f0ccf720d164ac6ac /lib
parentv4: hub, processing flow, sequence, fix (diff)
v4: sysenv, epub images where processing multilingual doc in lang code sub-dirsisu_4.0.16
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v4/sysenv.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sisu/v4/sysenv.rb b/lib/sisu/v4/sysenv.rb
index e95a0b1e..92ba76b5 100644
--- a/lib/sisu/v4/sysenv.rb
+++ b/lib/sisu/v4/sysenv.rb
@@ -2034,7 +2034,8 @@ WOK
and defined? @rc['image']['public']
pth="#{@rc['image']['path']}"
"#{pth}/#{@rc['image']['public']}"
- else "#{share}/image"
+ else
+ "#{share}/image"
end
end
def image_source_sisu_includes
@@ -2047,6 +2048,8 @@ WOK
"#{@rc['image']['path']}/#{@rc['image']['public']}"
elsif FileTest.directory?("#{@@pwd}/#{defaults[:image_stub]}")==true
"#{@@pwd}/#{defaults[:image_stub]}"
+ elsif FileTest.directory?("#{SiSU_Utils::Path.new.base_markup}/#{defaults[:image_stub]}")==true
+ "#{SiSU_Utils::Path.new.base_markup}/#{defaults[:image_stub]}"
else
"#{share}/image"
end