mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-11 18:46:51 +01:00
Require php-intl extension, get rid of Net_IDNA2, PHP8 fixes, short array syntax
Net_IDNA2 is not compatible, and Intl is a bundled ext since PHP 5.3. Fixed some regressions.
This commit is contained in:
@@ -158,7 +158,7 @@ class rcmail_install
|
||||
}
|
||||
}
|
||||
else if ($in_config && $token[0] == T_COMMENT) {
|
||||
$buffer .= strtr($token[1], ['\n' => "\n"]);
|
||||
$buffer .= strtr($token[1], ['\n' => "\n"]) . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -172,7 +172,7 @@ class rcmail_install
|
||||
* @param string $name Property name
|
||||
* @param string $default Default value
|
||||
*
|
||||
* @return string The property value
|
||||
* @return mixed The property value
|
||||
*/
|
||||
public function getprop($name, $default = '')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user