Add source file to logs
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user