12345678910111213141516171819202122232425262728293031323334 |
- <?php
- define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
- $helptext = <<<END_OF_FLUSHROUTER_HELP
- flushrouter.php -s<sitename>
- Flush the url router from cache.
- END_OF_FLUSHROUTER_HELP;
- require_once INSTALLDIR.'/scripts/commandline.inc';
- $cache = Cache::instance();
- $cache->delete(Router::cacheKey());
- print "OK.\n";
|