Skip to content

Instantly share code, notes, and snippets.

@robdecker
Forked from samsargent/clear-drupal-cache.php
Last active November 2, 2019 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robdecker/5784757 to your computer and use it in GitHub Desktop.
Save robdecker/5784757 to your computer and use it in GitHub Desktop.
[Clear all caches from a php file] #d6
<?php
include_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_flush_all_caches();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment