diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-01-11 19:06:07 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-01-11 19:06:07 +0000 |
commit | a58285fd06c8113c45377c655dd43cef6337e815 (patch) | |
tree | dfe31d3d12652352fe44890b4811eda0728faefb /maintenance/stats.php | |
parent | 20194986f6638233732ba1fc3e838f117d3cc9ea (diff) |
Aktualisierung auf MediaWiki 1.9.0
Diffstat (limited to 'maintenance/stats.php')
-rw-r--r-- | maintenance/stats.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/maintenance/stats.php b/maintenance/stats.php index bb19e671..25bb9cc7 100644 --- a/maintenance/stats.php +++ b/maintenance/stats.php @@ -1,6 +1,10 @@ <?php require_once('commandLine.inc'); +if( get_class( $wgMemc ) == 'FakeMemCachedClient' ) { + die("You are running FakeMemCachedClient, I can not provide any statistics.\n"); +} + print "Requests\n"; $session = intval($wgMemc->get(wfMemcKey('stats','request_with_session'))); $noSession = intval($wgMemc->get(wfMemcKey('stats','request_without_session'))); |