Wiki-Installationshürden: Unterschied zwischen den Versionen

Aus ThinkPad-Wiki
Zeile 2: Zeile 2:


Irgendwie klappt das nicht mit dem anpassen der Zeitzone.
Irgendwie klappt das nicht mit dem anpassen der Zeitzone.
<nowiki>


/**
 
* 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
Fake out the timezone that the server thinks it's in. This will be used for
* your server's OS-based timezone value. This is the same as the timezone.
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.
This variable is currently used ONLY for signature formatting, not for
*/
anything else.
 
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
# $wgLocaltimezone = 'PST8PDT';
# $wgLocaltimezone = 'Europe/Sweden';
# $wgLocaltimezone = 'Europe/Sweden';
# $wgLocaltimezone = 'CET';
# $wgLocaltimezone = 'CET';
$wgLocaltimezone = null;</nowiki>
$wgLocaltimezone = null;


Die ist die DefaultSettings.php wo die Zeitzone eingestellt ist.
Die ist die DefaultSettings.php wo die Zeitzone eingestellt ist.

Version vom 9. April 2008, 20:19 Uhr

Zeitzonen Anpassung

Irgendwie klappt das nicht mit dem anpassen der Zeitzone.


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;

Die ist die DefaultSettings.php wo die Zeitzone eingestellt ist. Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da sollte ich Änderungen schreiben, passiert nichts, grr…

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