Commit 4b5e5505 authored by ergonlogic's avatar ergonlogic

Add autoloading for our future classes.

parent 24af45d5
# placeholder
* Implements hook_drush_init().
function subdirs_drush_init() {
* Register our directory as a place to find Provision classes.
* This allows Provision to autoload our classes, so that we don't need to
* specifically include the files before we use the class.
function subdirs_provision_register_autoload() {
static $loaded = FALSE;
if (!$loaded) {
$loaded = TRUE;
provision_autoload_register_prefix('Provision_', dirname(__FILE__));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment