Am Donnerstag, 3. Mai 2007 21:04 schrieb Paul Williams:
Klaus Becker wrote:
Hi,
to change the logo, I put this line
$wgLogo = "/home/daten/rezo/wiki/wikilangues/images/0/00/Omnes.jpg";
into LocalSettings.php
but I always see the default logo. What's the right syntax ?
cheers
Klaus
The problem here is that you are using a filesystem path, not a URL. The
browser is not able to access your filesystem, only what is available
over HTTP.
The correct line would be:
$wgLogo = "http://yourdomain.com/wiki/wikilangues/images/0/00/Omnes.jpg";
Where
yourdomain.com is your domain name, or you could try:
$wgLogo = $wgScriptPath . "/wikilangues/images/0/00/Omnes.jpg";
Hi,
I copied the image file into
/home/daten/rezo/wiki/wikilangues/skins/common/images
than I tried all these lines one after the other:
$wgLogo = "http://localhost/wikilangues/skins/common/images/omnes.jpg";
$wgLogo = "$wgScriptPath/skins/common/images/omnes.jpg";
$wgLogo = $wgScriptPath . "/wikilangues/images/0/00/omnes.jpg";
on Linux. Nothing works.
Klaus