daemon_addon hook - lets plugins create custom background processes.

This commit is contained in:
zotlabs
2017-01-17 00:14:47 -08:00
parent 8478ecc675
commit 335d9af8dc
3 changed files with 32 additions and 0 deletions

14
Zotlabs/Daemon/Addon.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
namespace Zotlabs\Daemon;
require_once('include/zot.php');
class Addon {
static public function run($argc,$argv) {
call_hooks('daemon_addon',$argv);
}
}