installer: Link to skin screenshots
[lhc/web/wiklou.git] / includes / installer / CliInstaller.php
index ad7acda..32d2634 100644 (file)
@@ -108,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 ) {
@@ -178,7 +178,7 @@ class CliInstaller extends Installer {
 
                $text = preg_replace( '/<a href="(.*?)".*?>(.*?)<\/a>/', '$2 &lt;$1&gt;', $text );
 
-               return html_entity_decode( strip_tags( $text ), ENT_QUOTES );
+               return Sanitizer::stripAllTags( $text );
        }
 
        /**