# File utils.rb, line 209 def self.get_domain(uri) uritokens = uri.split('/') uritokens.each_with_index do |token,index| if(token == 'w') @domain = uritokens[index + 1] RAILS_DEFAULT_LOGGER.debug 'Utils: Setting domain to ' + @domain + '...' unless not defined? RAILS_DEFAULT_LOGGER end end @domain end