errorlog.inc.php

来自「phpcms2007很好的cms内容管理系统,操作方便」· PHP 代码 · 共 20 行

PHP
20
字号
<?php 
defined('IN_PHPCMS') or exit('Access Denied');

require_once PHPCMS_ROOT.'/include/xml.func.php';

$submenu = array
(
    array($LANG['new_log'], "?mod=".$mod."&file=".$file."&action=lastest"),
);

$menu = adminmenu($LANG['php_error_log_admin'], $submenu);

$file = PHPCMS_ROOT.'/data/php_error_log.xml';
if(!file_exists($file)) showmessage($LANG['log_file_not_existed']);
$xmlstr = file_get_contents($file);
$xmlstr = "<phperror>\n\n$xmlstr</phperror>";
$logarr = xml_str($xmlstr, 'errorentry');

include admintpl('errorlog');
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?