Skip to content

Instantly share code, notes, and snippets.

@bmsterling
Created September 12, 2013 15:05
Show Gist options
  • Save bmsterling/6539019 to your computer and use it in GitHub Desktop.
Save bmsterling/6539019 to your computer and use it in GitHub Desktop.
<?php
// define static var
define('DRUPAL_ROOT', getcwd());
// include bootstrap
include_once('./includes/bootstrap.inc');
// initialize stuff
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
// clear cache
drupal_flush_all_caches();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment