diff options
author | zotlabs <mike@macgirvin.com> | 2017-01-17 00:14:47 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-01-17 00:14:47 -0800 |
commit | 335d9af8dc4b02f8ec4017d30525a65e93c40eb2 (patch) | |
tree | f3f561a5a2e23386d416e328e4c2d9f788a9cf47 /Zotlabs/Daemon/Addon.php | |
parent | 8478ecc6755eefb1977566c8f4bbbd603d5b37db (diff) | |
download | volse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.tar.gz volse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.tar.bz2 volse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.zip |
daemon_addon hook - lets plugins create custom background processes.
Diffstat (limited to 'Zotlabs/Daemon/Addon.php')
-rw-r--r-- | Zotlabs/Daemon/Addon.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Addon.php b/Zotlabs/Daemon/Addon.php new file mode 100644 index 000000000..c2889e596 --- /dev/null +++ b/Zotlabs/Daemon/Addon.php @@ -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); + + } +} |