function teardown() { global $conf; // restore purge if (is_null($this->purge)) { unset($_REQUEST['purge']); } else { $_REQUEST['purge'] = $this->purge; } // restore $conf['cachedir'] if necessary if (!$this->cachedir) { unset($conf['cachedir']); } // restore io_functions runkit_function_rename('io_makefiledir', 'xhtml_htmlphp_test_io_makefiledir'); if (function_exists('io_makefiledir_real')) { runkit_function_rename('io_makefiledir_real', 'io_makefiledir'); } runkit_function_rename('io_savefile', 'xhtml_htmlphp_test_io_savefile'); if (function_exists('io_savefile_real')) { runkit_function_rename('io_savefile_real', 'io_savefile'); } // restore GeSHi::parse_code runkit_method_remove('GeSHi', 'parse_code'); runkit_method_rename('GeSHi', 'parse_code_real', 'parse_code'); parent::setup(); }
function setup() { parent::setup(); global $conf; $conf['typography'] = 2; }
function setup() { parent::setup(); $this->P->addMode('footnote', new Doku_Parser_Mode_Footnote()); }