Sha256: be29844212a7452b179d53929ac8b7213c845e0b4be5766d74c498fac7d03738

Contents?: true

Size: 372 Bytes

Versions: 36

Compression:

Stored size: 372 Bytes

Contents

<?php

$pub_dir = realpath(__DIR__ . '/../public');
chdir($pub_dir);
define('DRUPAL_ROOT', $pub_dir);

if (file_exists($pub_dir . '/includes/bootstrap.inc')) {

	$_SERVER['REMOTE_ADDR'] 	= '127.0.0.1';
	$_SERVER['REQUEST_METHOD']	= 'GET';

    require_once $pub_dir . '/includes/bootstrap.inc';
    drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
    drupal_flush_all_caches();
}

Version data entries

36 entries across 28 versions & 1 rubygems

Version Path
bonethug-0.0.99 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.98 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.97 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.96 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.95 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.93 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.92 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.91 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.90 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.89 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.88 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.87 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.86 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.85 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.84 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.83 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.82 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.81 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.80 skel/project_types/drupal/lib/flush_drupal_cache.php
bonethug-0.0.79 skel/project_types/drupal/lib/flush_drupal_cache.php