/etc/horde/kronolith/hooks.php.dist is in php-horde-kronolith 4.1.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <?php
/**
* Kronolith Hooks configuration file.
*
* THE HOOKS PROVIDED IN THIS FILE ARE EXAMPLES ONLY. DO NOT ENABLE THEM
* BLINDLY IF YOU DO NOT KNOW WHAT YOU ARE DOING. YOU HAVE TO CUSTOMIZE THEM
* TO MATCH YOUR SPECIFIC NEEDS AND SYSTEM ENVIRONMENT.
*
* For more information please see the horde/config/hooks.php.dist file.
*
* $Id: 9fa067aefa51feab931f784caf652a2cc48c4032 $
*/
class Kronolith_Hooks
{
/**
* Adds user-defined AJAX action handlers.
*
* @param string $action The AJAX action.
* @param Horde_Variables $vars The URL parameters.
*
* @return mixed The data to send to the browser (will be JSON encoded).
* @throws Horde_Exception
*/
// public function ajaxaction($action, $vars)
// {
// switch ($action) {
// case 'Foo':
// return 'bar';
// }
//
// throw new Horde_Exception('Unknown action');
// }
}
|