Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 359 Bytes
<?php
/**
* @license BSD License (http://silverstripe.org/bsd-license/)
* @package advancedworkflow
*/
define('ADVANCED_WORKFLOW_DIR', basename(dirname(__FILE__)));
if(ADVANCED_WORKFLOW_DIR != 'advancedworkflow') {
throw new Exception(
"The advanced workflow module must be in a directory named 'advancedworkflow', not " . ADVANCED_WORKFLOW_DIR
);
}