diff --git a/shared/src/class-main.php b/shared/src/class-main.php index 93f0446..1facb31 100755 --- a/shared/src/class-main.php +++ b/shared/src/class-main.php @@ -72,7 +72,7 @@ // Start I/O layers $encoding= get_cfg_var('encoding'); -iconv_set_encoding('internal_encoding', \xp::ENCODING); +PHP_VERSION < '5.6' && iconv_set_encoding('internal_encoding', \xp::ENCODING); array_shift($_SERVER['argv']); array_shift($argv); if ($encoding) {