error.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 24 行

PHP
24
字号
<?
  require './inc/config.php';
  require './inc/lib.php';
  error_reporting ((E_ALL ^ E_NOTICE));
  define ('SMARTY_DIR', './smarty/');
  require_once (SMARTY_DIR.'Smarty.class.php');
  $smarty = new Smarty ();
  $smarty->compile_dir = $temporary_directory;
  $smarty->security = true;
  $smarty->secure_dir = array ('./');
  $smarty->assign ('umLanguageFile', ($selected_language.'.txt'));
  $phpver = phpversion ();
  $phpver = doubleval ((($phpver[0].'.').$phpver[2]));
  if ((4.1 <= $phpver))
  {
    extract ($_GET);
  }
  $smarty->assign ('umSid', $sid);
  $smarty->assign ('umLid', $lid);
  $smarty->assign ('umTid', $tid);
  $smarty->assign ('umErrorCode', $err);
  $smarty->display ('neotech.net/error.htm');
?>

⌨️ 快捷键说明

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