diff --git a/inc/auth.php b/inc/auth.php index bd789ef..72f0c10 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -19,7 +19,7 @@ class Auth extends PhpObject public function __construct($oDb, $sApiKey='', $bAutoLogin=true) { - parent::__construct(__CLASS__, Settings::DEBUG); + parent::__construct(__FILE__, Settings::DEBUG); $this->oDb = $oDb; $this->setUserId(0); $this->sApiKey = $sApiKey; diff --git a/inc/course.php b/inc/course.php index 081bccc..e78c8b5 100644 --- a/inc/course.php +++ b/inc/course.php @@ -15,7 +15,7 @@ class Course extends PhpObject { public function __construct(Db &$oDb, $iCourseId=0) { - parent::__construct(__CLASS__, Settings::DEBUG); + parent::__construct(__FILE__, Settings::DEBUG); $this->oDb = &$oDb; $this->setCourseId($iCourseId); } diff --git a/inc/definition.php b/inc/definition.php index ae9601a..c1d5781 100644 --- a/inc/definition.php +++ b/inc/definition.php @@ -14,7 +14,7 @@ class Definition extends PhpObject { public function __construct(Db &$oDb, $iUserId=0, $iDefId=0) { - parent::__construct(__CLASS__, Settings::DEBUG); + parent::__construct(__FILE__, Settings::DEBUG); $this->oDb = &$oDb; $this->setUserId($iUserId); $this->setDefId($iDefId); diff --git a/inc/doc.php b/inc/doc.php index 15af24b..69e74c0 100644 --- a/inc/doc.php +++ b/inc/doc.php @@ -16,7 +16,7 @@ class Doc extends PhpObject { public function __construct(Db &$oDb, $iUserId=0, $iWorkshopId=0) { - parent::__construct(__CLASS__, Settings::DEBUG); + parent::__construct(__FILE__, Settings::DEBUG); $this->oDb = &$oDb; $this->setDocId(0); $this->setUserWorkshopId($iUserId, $iWorkshopId); diff --git a/inc/note.php b/inc/note.php index 305dc89..c913f6a 100644 --- a/inc/note.php +++ b/inc/note.php @@ -16,7 +16,7 @@ class Note extends PhpObject { public function __construct(Db &$oDb, $iUserId, $iCourseId) { - parent::__construct(__CLASS__, Settings::DEBUG); + parent::__construct(__FILE__, Settings::DEBUG); $this->oDb = &$oDb; $this->setNoteId(0); $this->setUserCourseId($iUserId, $iCourseId); diff --git a/readme.md b/readme.md index 2bc61c6..6c7684c 100644 --- a/readme.md +++ b/readme.md @@ -16,5 +16,4 @@ Prise de notes pour les cours du Collège des Arts Thérapeutiques Chinois * [x] Sync local with remote repository * [x] Table in Quill JS * [ ] Font Awesome icons in Quill JS Toolbar -* [ ] Todo lists -* [ ] Bug sync + login hash \ No newline at end of file +* [ ] Todo lists \ No newline at end of file