]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/showcache.php
Added type-hints for StartInitializeRouter hooks.
[quix0rs-gnu-social.git] / scripts / showcache.php
old mode 100644 (file)
new mode 100755 (executable)
index 93b57a4..b4fe7b6
@@ -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");