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:
parent
72e023920d
commit
c2f1a1086e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user