From 3a575cdfdef10fdff6b96ef1bb71c19e441ff895 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 24 Jan 2011 22:02:53 +0100 Subject: first try of 'poormancron' whith 'proc_run' hook --- addon/poormancron/poormancron.php | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 addon/poormancron/poormancron.php (limited to 'addon') diff --git a/addon/poormancron/poormancron.php b/addon/poormancron/poormancron.php new file mode 100644 index 000000000..98231727d --- /dev/null +++ b/addon/poormancron/poormancron.php @@ -0,0 +1,51 @@ +300) { + set_config('poormancron','lastupdate', $now); + $b .= ""; + $b .= ""; + + } + +} + + +function poormancron_procrun($a, $args) { + $argv = array_shift($args); + $argc = count($argv); + function killme(){ + // pass + } + require_once($argv[0]); +} + + +?> -- cgit v1.2.3