From 16c508ac782cc6957d2190f76e3b537b92e7a2cc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Sep 2015 13:07:07 -0300 Subject: Check if memory_limit is available on templates --- templates/rss.soft.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/rss.soft.erb') diff --git a/templates/rss.soft.erb b/templates/rss.soft.erb index 31a8030..357dbac 100644 --- a/templates/rss.soft.erb +++ b/templates/rss.soft.erb @@ -1 +1 @@ -<%= memory_limit.to_i * 1_000_000 / 4096 %> +<%= memory_limit.to_i * 1_000_000 / 4096 if defined?(memory_limit) %> -- cgit v1.2.3