uawdijnntqw1x1x1
IP : 18.191.146.8
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
lib
/
..
/
lib
/
sgml-base
/
..
/
roundcube
/
program
/
steps
/
utils
/
killcache.inc
/
/
<?php /** +-----------------------------------------------------------------------+ | program/steps/utils/killcache.inc | | | | This file is part of the Roundcube Webmail client | | Copyright (C) 2005-2010, The Roundcube Dev Team | | | | Licensed under the GNU General Public License version 3 or | | any later version with exceptions for skins & plugins. | | See the README file for a full license statement. | | | | PURPOSE: | | Delete rows from cache tables | | | +-----------------------------------------------------------------------+ | Author: Dennis P. Nikolaenko <dennis@nikolaenko.ru> | +-----------------------------------------------------------------------+ */ // don't allow public access if not in devel_mode if (!$RCMAIL->config->get('devel_mode')) { header("HTTP/1.0 401 Access denied"); die("Access denied!"); } // @TODO: transaction here (if supported by DB) would be a good thing $res = $RCMAIL->db->query("DELETE FROM " . $RCMAIL->db->table_name('cache', true)); if ($err = $RCMAIL->db->is_error($res)) { exit($err); } $res = $RCMAIL->db->query("DELETE FROM " . $RCMAIL->db->table_name('cache_shared', true)); if ($err = $RCMAIL->db->is_error($res)) { exit($err); } $res = $RCMAIL->db->query("DELETE FROM " . $RCMAIL->db->table_name('cache_messages', true)); if ($err = $RCMAIL->db->is_error($res)) { exit($err); } $res = $RCMAIL->db->query("DELETE FROM " . $RCMAIL->db->table_name('cache_index', true)); if ($err = $RCMAIL->db->is_error($res)) { exit($err); } $res = $RCMAIL->db->query("DELETE FROM " . $RCMAIL->db->table_name('cache_thread', true)); if ($err = $RCMAIL->db->is_error($res)) { exit($err); } echo "Cache cleared\n"; exit;
/var/lib/../lib/sgml-base/../roundcube/program/steps/utils/killcache.inc