修复登陆日志入库错误,升级部分composer依赖项;
临时修复登陆通知邮件不能多发的问题;
This commit is contained in:
+10
-4
@@ -1023,7 +1023,11 @@ class Configuration
|
||||
*/
|
||||
public function setErrorLoggingLevel($errorLoggingLevel)
|
||||
{
|
||||
$this->errorLoggingLevel = (\E_ALL | \E_STRICT) & $errorLoggingLevel;
|
||||
if (\PHP_VERSION_ID < 80400) {
|
||||
$this->errorLoggingLevel = (\E_ALL | \E_STRICT) & $errorLoggingLevel;
|
||||
} else {
|
||||
$this->errorLoggingLevel = \E_ALL & $errorLoggingLevel;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1263,9 +1267,11 @@ class Configuration
|
||||
// let's not use it by default.
|
||||
//
|
||||
// See https://github.com/bobthecow/psysh/issues/778
|
||||
$link = @\readlink($less);
|
||||
if ($link !== false && \strpos($link, 'busybox') !== false) {
|
||||
return false;
|
||||
if (@\is_link($less)) {
|
||||
$link = @\readlink($less);
|
||||
if ($link !== false && \strpos($link, 'busybox') !== false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
$this->pager = $less.' -R -F -X';
|
||||
|
||||
Reference in New Issue
Block a user