ConfigSchema.php 386 B

12345678910111213141516
  1. <?php
  2. chdir(dirname(__FILE__));
  3. //require_once '../library/HTMLPurifier.path.php';
  4. shell_exec('php ../maintenance/generate-schema-cache.php');
  5. require_once '../library/HTMLPurifier.path.php';
  6. require_once 'HTMLPurifier.includes.php';
  7. $begin = xdebug_memory_usage();
  8. $schema = HTMLPurifier_ConfigSchema::makeFromSerial();
  9. echo xdebug_memory_usage() - $begin;
  10. // vim: et sw=4 sts=4