芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/www/wp-content/plugins/w3-total-cache/UsageStatistics_AdminActions.php
_config = Dispatcher::config(); } /** * Disables usage statistics tracking. * * This method updates the configuration to disable usage statistics tracking * by setting the 'stats.enabled' key to `false` and saving the configuration. * It then redirects the user back to the appropriate location using `Util_Admin::redirect`. * * @return void * * @throws Exception If there is an error saving the configuration or during the redirect process. */ public function w3tc_ustats_note_disable() { $this->_config->set( 'stats.enabled', false ); $this->_config->save(); Util_Admin::redirect( array(), true ); } }