Change events archiver to read config from relative path

Makes testing easier
This commit is contained in:
Calvin Walton 2019-05-10 14:05:31 -04:00
parent d74f0044cc
commit 812052a8c7

View File

@ -28,7 +28,7 @@ require 'yaml'
require 'fileutils'
module BigBlueButton
$bbb_props = YAML::load(File.open('../../core/scripts/bigbluebutton.yml'))
$bbb_props = YAML::load(File.open(File.expand_path('../../../scripts/bigbluebutton.yml', __FILE__)))
$recording_dir = $bbb_props['recording_dir']
$raw_recording_dir = "#{$recording_dir}/raw"