X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fshowcache.php;h=b4fe7b63ce9601b8c9d67648597a6bec63e1ce99;hb=261ccfac8699534ff584a2f93d5dcd384529d855;hp=93b57a484b20be47c3c2f5fe1326cf8676604604;hpb=aee73d87ee33d1743a74fbe87f964bfc46ba1873;p=quix0rs-gnu-social.git diff --git a/scripts/showcache.php b/scripts/showcache.php index 93b57a484b..b4fe7b63ce 100644 --- a/scripts/showcache.php +++ b/scripts/showcache.php @@ -33,12 +33,12 @@ shows the cached object based on the args ENDOFHELP; -require_once INSTALLDIR.'/scripts/commandline.inc'; +require_once INSTALLDIR.'/scripts/commandline.inc.php'; $karg = get_option_value('k'); if (!empty($karg)) { - $k = common_cache_key($karg); + $k = Cache::key($karg); } else { $table = get_option_value('t'); if (empty($table)) { @@ -55,7 +55,7 @@ if (!empty($karg)) { print "Checking key '$k'...\n"; -$c = common_memcache(); +$c = Cache::instance(); if (empty($c)) { die("Can't initialize cache object!\n");