Skip to content

Instantly share code, notes, and snippets.

@bangpound
Created September 22, 2016 20:28
Show Gist options
  • Save bangpound/fa335d49f8bb2e1cac355c36be69c65f to your computer and use it in GitHub Desktop.
Save bangpound/fa335d49f8bb2e1cac355c36be69c65f to your computer and use it in GitHub Desktop.
diff --git a/docroot/cron.php b/docroot/cron.php
index c6ce531..f0ecbad 100644
--- a/docroot/cron.php
+++ b/docroot/cron.php
@@ -10,6 +10,7 @@
*/
define('DRUPAL_ROOT', getcwd());
+require_once DRUPAL_ROOT . '/../vendor/autoload.php';
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment