PDA

View Full Version : Tried to add url logo and messed everything up



melepedi
03-19-2007, 10:16 PM
Okay,

I was trying to add a url logo to 'href' => '/favicon.ico' in the includes/Skin.php.

I managed to delete a couple of icons in the process and haven't been able to get my wikimedia to work. Here's what my code reads:

"function initPage( &$out ) {
global $wgFavicon, $wgScriptPath, $wgSitename, $wgLanguageCode, $wgLanguageNames;

$fname = 'Skin::initPage';
wfProfileIn( $fname );

if( false !== $wgFavicon ) {
$out->addLink( array( 'rel' => 'shortcut icon', 'href' => '/favicon.ico'))}"

Could somebody paste their default section of the skins.php, so I can copy it to get my wikimedia site to work again.

Thanks!