|
CI有没有什么地方能改他的报错呢,老是把一些notice级别的错误报出来,比如
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: models/CurrentMember.php
Line Number: 32
我就是这么写if ($u = self::find($username) && $u->password == $password)
报的错
请问这个东西,怎么改呢
|
|