芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/ezyang/htmlpurifier/maintenance/generate-schema-cache.php
#!/usr/bin/php buildDir($interchange); $loader = dirname(__FILE__) . '/../config-schema.php'; if (file_exists($loader)) include $loader; foreach ($_SERVER['argv'] as $i => $dir) { if ($i === 0) continue; $builder->buildDir($interchange, realpath($dir)); } $interchange->validate(); $schema_builder = new HTMLPurifier_ConfigSchema_Builder_ConfigSchema(); $schema = $schema_builder->build($interchange); echo "Saving schema... "; file_put_contents($target, serialize($schema)); echo "done!\n"; // vim: et sw=4 sts=4