From b24fa5a48b9fab2d30d40517fc8375c1cf6ce64d Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 4 Dec 2010 20:37:31 -0500 Subject: [PATCH] Fixed little path bug --- plugin/bbb/course_install.php | 2 +- plugin/bbb/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/bbb/course_install.php b/plugin/bbb/course_install.php index c3f9e0a4fd..08d4087a6c 100644 --- a/plugin/bbb/course_install.php +++ b/plugin/bbb/course_install.php @@ -13,5 +13,5 @@ $r = Database::query($sql_course); $sql_course = "INSERT INTO $t_course (variable,value,category) VALUES ('big_blue_button_welcome_message','','plugins')"; $r = Database::query($sql_course); $t_tool = Database::get_course_table(TABLE_TOOL_LIST,$cdb); -$sql_course = "INSERT INTO $t_tool VALUES (NULL, 'videoconference','../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; +$sql_course = "INSERT INTO $t_tool VALUES (NULL, 'videoconference','../../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; $r = Database::query($sql_course); diff --git a/plugin/bbb/install.php b/plugin/bbb/install.php index 47a85164be..8e2914985d 100644 --- a/plugin/bbb/install.php +++ b/plugin/bbb/install.php @@ -52,6 +52,6 @@ while ($row = Database::fetch_assoc($res)) { $sql_course = "INSERT INTO $t_course (variable,value,category) VALUES ('big_blue_button_welcome_message','','plugins')"; $r = Database::query($sql_course); $t_tool = Database::get_course_table(TABLE_TOOL_LIST,$row['db_name']); - $sql_course = "INSERT INTO $t_tool VALUES (NULL, 'videoconference','../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; + $sql_course = "INSERT INTO $t_tool VALUES (NULL, 'videoconference','../../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; $r = Database::query($sql_course); }