芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/cepali/admin/cli/purge_caches.php
. /** * CLI script to purge caches without asking for confirmation. * * @package core * @subpackage cli * @copyright 2011 David Mudrak
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define('CLI_SCRIPT', true); require(__DIR__.'/../../config.php'); require_once($CFG->libdir.'/clilib.php'); $longoptions = [ 'help' => false, 'muc' => false, 'theme' => false, 'lang' => false, 'js' => false, 'filter' => false, 'other' => false ]; list($options, $unrecognized) = cli_get_params($longoptions, ['h' => 'help']); if ($unrecognized) { $unrecognized = implode("\n ", $unrecognized); cli_error(get_string('cliunknowoption', 'admin', $unrecognized), 2); } if ($options['help']) { // The indentation of this string is "wrong" but this is to avoid a extra whitespace in console output. $help = <<