From 01ed34f6d4ca6eef9441a87b577d2929d52e0f23 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 18 Oct 2011 15:22:09 +0800 Subject: [PATCH] RefreshDatabaseCache.php --- RefreshDatabaseCache.php | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/RefreshDatabaseCache.php b/RefreshDatabaseCache.php index e69de29b..836c003a 100644 --- a/RefreshDatabaseCache.php +++ b/RefreshDatabaseCache.php @@ -0,0 +1,41 @@ +cli)) { + $this->cli = true; + return true; + } + die("cli only"); + } + + function get($args, $opts) + { + //print_r($opts);exit; + + + // technically it would be good to trash the cached ini files here.. + // however we can not really do that, as the ownships are off.. + //we can however regen our own files.. + HTML_FlexyFramework::get()->generateDataobjectsCache(true); + + die("done!"); + } + +} \ No newline at end of file -- 2.39.2