From 869ebb7dc7a5f4241b94512646cdd7ae89e35962 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 9 Jul 2010 17:50:14 -0400 Subject: script to fill counts table from command line --- plugins/Sitemap/scripts/updatecounts.php | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 plugins/Sitemap/scripts/updatecounts.php (limited to 'plugins/Sitemap') diff --git a/plugins/Sitemap/scripts/updatecounts.php b/plugins/Sitemap/scripts/updatecounts.php new file mode 100644 index 000000000..15c986418 --- /dev/null +++ b/plugins/Sitemap/scripts/updatecounts.php @@ -0,0 +1,36 @@ +#!/usr/bin/env php +. + */ + +define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..')); + +$helptext = <<