You are here

function pay_init in Pay 6

Same name and namespace in other branches
  1. 7 pay.module \pay_init()

Implementation of hook_init().

File

./pay.module, line 11
Pay module allows for accepting payments using pluggable payment backends.

Code

function pay_init() {
  if (module_exists('trigger')) {
    include_once dirname(__FILE__) . '/includes/pay.trigger.inc';
  }
  if (module_exists('token')) {
    include_once dirname(__FILE__) . '/includes/pay.token.inc';
  }
  include_once dirname(__FILE__) . '/includes/pay.action.inc';
}