1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 20:06:09 +08:00

course.ini移动到config目录

This commit is contained in:
xiaochong0302 2019-12-20 16:48:09 +08:00
parent 72e023920d
commit c2f1a1086e
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class Course extends UserComponent
public function __construct()
{
$fileName = dirname(__FILE__) . '/course.ini';
$fileName = config_path() . '/xs.course.ini';
$this->xs = new \XS($fileName);
}
@ -83,7 +83,6 @@ class Course extends UserComponent
*/
private function setXSDocument($course)
{
$data = [
'id' => $course->id,
'title' => $course->title,