亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Teacher, please see how to solve this problem?
王翼
王翼 2017-09-22 14:45:26
0
8
1671

123.png

王翼
王翼

reply all(5)
debug error

Remove inheritance from the parent class parent and change empty to if(USER_ID==''){code}.............Same as the second one, try it

鳶尾花

Why are you reporting an error again? Mine is not. There is no error message. How did you do it?

沉睡の黑暗

In the class, just use private variables to keep logged in user information,

Ty80

$this->uid=Session::get('user_id');

Change the USER_ID below to $this->uid

  • reply USER_ID is a custom constant, there is no point in changing it
    鳶尾花 author 2018-01-03 19:00:43
Ty80

It is not recommended to define constants in the class initialization function. You can try moving the define outside the class.

  • reply Move outside the User class and pass smoothly! Thank you.
    vine author 2017-10-22 23:41:43
  • reply How to move it
    鳶尾花 author 2018-01-03 19:01:46
  • reply Can't solve it
    . author 2018-05-02 13:56:27
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template