Checking in modifications to add memcache support to aus2. Bug 425287, r=oremj.
git-svn-id: svn://10.0.0.236/trunk@248674 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
15
mozilla/webtools/aus/xml/flush.php
Normal file
15
mozilla/webtools/aus/xml/flush.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
// If this is not from command line, exit.
|
||||
if (!empty($_SERVER['HTTP_HOST'])) {
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once('inc/config.php');
|
||||
require_once('inc/memcaching.php');
|
||||
$m = new Memcaching();
|
||||
$m->flush();
|
||||
echo "Flushing memcache entries... \n";
|
||||
echo "Updated stats: \n\n";
|
||||
print_r($m->getExtendedStats());
|
||||
echo "\n";
|
||||
?>
|
||||
Reference in New Issue
Block a user