X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FCliInstaller.php;h=6ac78c40bc82dabcde4f35c84ec615b4a52ecb93;hb=d779a09035c43785e544279b93242a01960f6c72;hp=7ecb71c4f3961ee1d2758dfb25a7578c27be0975;hpb=c340c41b37b5079ba90489f6b212bb8e4642031a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index 7ecb71c4f3..6ac78c40bc 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -47,8 +47,6 @@ class CliInstaller extends Installer { ]; /** - * Constructor. - * * @param string $siteName * @param string $admin * @param array $option @@ -180,7 +178,7 @@ class CliInstaller extends Installer { $text = preg_replace( '/(.*?)<\/a>/', '$2 <$1>', $text ); - return html_entity_decode( strip_tags( $text ), ENT_QUOTES ); + return Sanitizer::stripAllTags( $text ); } /** @@ -199,7 +197,7 @@ class CliInstaller extends Installer { } } - if ( !$status->isOk() ) { + if ( !$status->isOK() ) { echo "\n"; exit( 1 ); }