Last modified: 2007-12-18 21:00:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12296 - remove $configdate extra step in config/index.php
remove $configdate extra step in config/index.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Lowest trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-14 01:49 UTC by Dan Jacobson
Modified: 2007-12-18 21:00 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2007-12-14 01:49:16 UTC
In config/index.php please compact

\$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
\$wgCacheEpoch = max( \$wgCacheEpoch, \$configdate );

to become just

\$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );

as there is little point in using the extra variable "$configdate".
Comment 1 Brion Vibber 2007-12-18 21:00:05 UTC
Done in r28641.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links