Merge pull request #426 from kepstin/recording-updates-2

Load bigbluebutton.yml from current path
This commit is contained in:
Fred Dixon 2014-11-12 16:30:34 -02:00
commit 9cdc47d16d

View File

@ -4,7 +4,7 @@ require File.expand_path('../../lib/recordandplayback', __FILE__)
require 'nokogiri'
require 'trollop'
props = YAML::load(File.open('bigbluebutton.yml'))
props = YAML::load(File.open(File.expand_path('../bigbluebutton.yml', __FILE__)))
log_dir = props['log_dir']
raw_recording_dir = "#{props['recording_dir']}/raw"
published_dir = props['published_dir']