——

运行环境监测

不支持 json_encode函数'; if(!function_exists('iconv')) $error.= '
  • 不支持iconv
  • '; if(!function_exists('mb_convert_encoding')) $error.= '
  • 不支持mb_string系列函数
  • '; if(!version_compare(PHP_VERSION,'5.2','>=')) $error.= '
  • PHP版本不能低于5.2
  • '; if(!function_exists('file_get_contents')) $error.='
  • 必须开启file_get_contents支持才可继续.
  • '; if(!path_writable(BASIC_PATH.'data')) $error.= '
  • ./data目录不可写
  • '; if(!path_writable(BASIC_PATH.'data/User')) $error.= '
  • ./data/User目录不可写
  • '; if(!path_writable(BASIC_PATH.'data/thumb')) $error.= '
  • ./data/thumb目录不可写
  • '; if( !function_exists('imagecreatefromjpeg')|| !function_exists('imagecreatefrompng')|| !function_exists('imagecreatefromgif')|| !function_exists('imagecolorallocate')){ $error.= '
  • 必须开启php GD库(用于缩略图生成)
  • '; } if ($error=='') { echo '

    Successful!

    您可以用如下账号登陆', '
    管理员:admin/admin(请务必修改密码)
    普通用户:demo/demo
    游客用户:guest/guest
    进入系统
    '; }else{ echo '

    error:

    '.$error.'
    忽略错误
    '; } ?>