Added 500 error message
This commit is contained in:
@@ -20,7 +20,10 @@ abstract class lnApp_SystemMessage extends HTMLRender {
|
||||
public function __call($name,$args=NULL) {
|
||||
parent::__call($name,$args);
|
||||
|
||||
Session::instance()->set('sessionmsgs',static::$_data);
|
||||
// If we are a CLI session, then we have no session
|
||||
if (PHP_SAPI !== 'cli')
|
||||
Session::instance()->set('sessionmsgs',static::$_data);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user