jasteele123

cache-flush.php

Sep 14th, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php /* tools/cache-flush.php - call as tools/cache-flush */
  2. defined('C5_EXECUTE') or die(_('Access Denied'));
  3. $u = new User();
  4. if(!$u->isSuperUser()) { die(_('Access Denied.')); }
  5.  
  6. echo 'Cache::flush(): '. Cache::flush();
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment