123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- define('INSTALLDIR', dirname(__DIR__));
- define('PUBLICDIR', INSTALLDIR);
- $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";
|