Welcome to mirror list, hosted at ThFree Co, Russian Federation.

flush.php - github.com/erikdubbelboer/phpRedisAdmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c8fc1f5b5473c49c4a94eb769eca4e6d54694e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

if (!isset($_POST['post'])) {
  die('Javascript needs to be enabled for you to flush a database.');
}

require_once 'includes/common.inc.php';
global $redis, $config, $csrfToken, $server;

$redis->flushdb();