')) exit('Requires PHP 5 or higher.'); // setup schema for parsing require_once 'testSchema.php'; $new_schema = $custom_schema; // dereference the reference HTMLPurifier_ConfigSchema::instance($old); // restore old version // setup ConfigDoc environment require_once '../configdoc/library/ConfigDoc.auto.php'; // perform the ConfigDoc generation $configdoc = new ConfigDoc(); $html = $configdoc->generate($new_schema, 'plain', array( 'css' => '../configdoc/styles/plain.css', 'title' => 'Sample Configuration Documentation' )); $configdoc->cleanup(); file_put_contents('testSchema.html', $html); echo $html; exit; } ?> HTML Purifier Config Form Smoketest

HTML Purifier Config Form Smoketest

This file outputs the configuration form for every single type of directive possible.

render($config); ?>
getAll(), true));
?>