X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FCliInstaller.php;h=32d263495911072062b5254b4e4098752b2e985c;hb=a8ec960e9d910acbcd0d50efad3bd73e3ae812aa;hp=661c3ec0b5c28848206ba9c4f49c4b39df60ef83;hpb=7f91193ef37d534949950c980416b5a921cd5d79;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index 661c3ec0b5..32d2634959 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 @@ -110,7 +108,7 @@ class CliInstaller extends Installer { } // Set up the default skins - $skins = $this->findExtensions( 'skins' ); + $skins = array_keys( $this->findExtensions( 'skins' ) ); $this->setVar( '_Skins', $skins ); if ( $skins ) { @@ -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 ); } /**