Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure the minion module is enabled for the minion "binary"

  • Loading branch information...
commit 0e326d56a631b45cb63e1cb68518520af110d675 1 parent c9a55bd
@kiall kiall authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  minion
View
3  minion
@@ -96,6 +96,9 @@ if ( ! defined('KOHANA_START_MEMORY'))
// Bootstrap the application
require APPPATH.'bootstrap'.EXT;
+// Ensure the Minion module is enabled
+class_exists('Minion_Task') OR die('Please enable the Minion module for CLI support.');
+
set_exception_handler(array('Minion_Exception_Handler', 'handler'));
/**
Please sign in to comment.
Something went wrong with that request. Please try again.