4chdir(dirname(__FILE__));
 
    5require_once 
'common.php';
 
   19echo 
"Flushing cache... \n";
 
   21require_once(dirname(__FILE__) . 
'/../library/HTMLPurifier.auto.php');
 
   25$names = array(
'HTML', 
'CSS', 
'URI', 
'Test');
 
   30        throw new Exception(
"Cache parameter {$argv[1]} is not a valid cache");
 
   35    echo 
" - Flushing $name\n";
 
   40echo 
"Cache flushed successfully.\n";
 
An exception for terminatinating execution or to throw for unit testing.
static createDefault()
Convenience constructor that creates a default configuration object.