Wiki-Installationshürden: Unterschied zwischen den Versionen

Aus ThinkPad-Wiki
Zeile 7: Zeile 7:


<code>
 
Fake out the timezone that the server thinks it's in. This will be used for
Fake out the timezone that the server thinks it's in. This will be used for
date display and not for what's stored in the DB. Leave to null to retain
date display and not for what's stored in the DB. Leave to null to retain
Zeile 13: Zeile 13:


This variable is currently used ONLY for signature formatting, not for
This variable is currently used ONLY for signature formatting, not for
anything else.</code>
anything else.
<code>
 
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
# $wgLocaltimezone = 'PST8PDT';
Zeile 20: Zeile 20:
# $wgLocaltimezone = 'CET';
# $wgLocaltimezone = 'CET';
$wgLocaltimezone = null;
$wgLocaltimezone = null;
</code>
 


Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da darf ich Änderungen reinschreiben, passiert nichts, grr…
Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da darf ich Änderungen reinschreiben, passiert nichts, grr…


Wo liegt das Problem?--[[Benutzer:Dreamcatcher|Dreamcatcher]] 20:18, 9. Apr. 2008 (UTC)
Wo liegt das Problem? --[[Benutzer:Dreamcatcher|Dreamcatcher]] 20:27, 9. Apr. 2008 (UTC)

Version vom 9. April 2008, 20:27 Uhr

Zeitzonen Anpassung

Irgendwie klappt das nicht mit dem anpassen der Zeitzone.

In der DefaultSettings.php steht folgendes



Fake out the timezone that the server thinks it's in. This will be used for date display and not for what's stored in the DB. Leave to null to retain your server's OS-based timezone value. This is the same as the timezone.

This variable is currently used ONLY for signature formatting, not for anything else.

  1. $wgLocaltimezone = 'GMT';
  2. $wgLocaltimezone = 'PST8PDT';
  3. $wgLocaltimezone = 'Europe/Sweden';
  4. $wgLocaltimezone = 'CET';

$wgLocaltimezone = null;


Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da darf ich Änderungen reinschreiben, passiert nichts, grr…

Wo liegt das Problem? --Dreamcatcher 20:27, 9. Apr. 2008 (UTC)