芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/editor/tinymce/plugins/spellchecker/includes/general.php
$value) $newarray[$name] = $value; return $newarray; } return $_REQUEST[$name]; } function &getLogger() { global $mcLogger, $man; if (isset($man)) $mcLogger = $man->getLogger(); if (!$mcLogger) { $mcLogger = new Moxiecode_Logger(); // Set logger options $mcLogger->setPath(__DIR__ . "/../logs"); $mcLogger->setMaxSize("100kb"); $mcLogger->setMaxFiles("10"); $mcLogger->setFormat("{time} - {message}"); } return $mcLogger; } function debug($msg) { $args = func_get_args(); $log = getLogger(); $log->debug(implode(', ', $args)); } function info($msg) { $args = func_get_args(); $log = getLogger(); $log->info(implode(', ', $args)); } function xx_error($msg) { // collides with our moodle error(), it does not look to be used at all $args = func_get_args(); $log = getLogger(); $log->error(implode(', ', $args)); } function warn($msg) { $args = func_get_args(); $log = getLogger(); $log->warn(implode(', ', $args)); } function fatal($msg) { $args = func_get_args(); $log = getLogger(); $log->fatal(implode(', ', $args)); } ?>