Wangren v1.0.0

基础说明

开始使用 Getting Started
目录结构 Structure
第一个应用 Hello World!

架构

配置 Tpl
独立域名 Domain
URL路由 Router

模块

验证码 code
文件处理 files
图片 img
数据库 mysql
文件缓存 cache
分页 page
汉字转拼音 pinyin
模板引擎 template
树形结构 tree
文件上传 upload

模板

内置变量标签

array (size=69)
  'db' =>
    array (size=7)
      'DB_HOST' => string 'localhost' (length=9)
      'DB_PORT' => int 3306
      'DB_USER' => string 'root' (length=4)
      'DB_PASSWORD' => string '' (length=0)
      'DB_NAME' => string 'iu.com' (length=6)
      'DB_CHARSET' => string 'utf8' (length=4)
      'DB_PCONNECT' => boolean true
  'db2' =>
    array (size=0)
      empty
  'URL_REWRITE' => boolean true
  'URL_REWRITE_SEPARATOR' => string '/' (length=1)
  'URL_REWRITE_EXT' => string 'html' (length=4)
  'DOMAIN_HOME_PAGE_NAME' => string 'www.iuwen.net' (length=13)
  'DOMAIN_NAME' => string 'iuwen.net' (length=9)
  'DOMAIN' =>
    array (size=4)
      'wui.iuwen.net' => string 'wui' (length=3)
      'wangren.iuwen.net' => string 'wangren' (length=7)
      'tiny.iuwen.net' => string 'tiny' (length=4)
      'admin.iuwen.net' => string 'admin' (length=5)
  'PAGES_MODE' => boolean false
  'APP_FOLDER' => string 'G:/php/wangren.net/iuwen_www/app/' (length=33)
  'APP_PUBLIC_FOLDER' => string 'public/' (length=7)
  'APP_COMM_FOLDER' => string 'G:/php/wangren.net/iuwen_www/app/wangren/common/' (length=48)
  'APP_CONF_FOLDER' => string 'conf/' (length=5)
  'APP_MODULE_FOLDER' => string 'module/' (length=7)
  'PATH_STATIC' => string '/static/' (length=8)
  'PATH_WUI' => string 'http://www.wui.net/wui/' (length=23)
  'PATH_MWUI' => string '/static/mwui/' (length=13)
  'PATH_VIEW' => string '/static/view/' (length=13)
  'PATH_JS' => string '/static/js/' (length=11)
  'PATH_IMG' => string '/static/images/' (length=15)
  'PATH_CSS' => string '/static/css/' (length=12)
  'PATH_EXPAND' => string '/static/expand/' (length=15)
  'PATH_DATA_CACHE' => string 'G:/php/wangren.net/iuwen_www/runtime/data/' (length=42)
  'PATH_TPL_CACHE' => string 'G:/php/wangren.net/iuwen_www/runtime/tpl/' (length=41)
  'DEFAULT_APP' => string 'index' (length=5)
  'DEFAULT_MODULE' => string 'index' (length=5)
  'DEFAULT_CONTROLLER' => string 'index' (length=5)
  'UploadDir' => string 'upfiles/' (length=8)
  'DirFormat' => int 1
  'UpSize' => int 1024
  'UpType' => string 'jpg|png|gif|jpeg' (length=16)
  'IsThumb' => boolean true
  'ThumbDir' => string 'thumb' (length=5)
  'ThumbSize' =>
    array (size=2)
      0 =>
        array (size=2)
          0 => int 300
          1 => int 200
      1 =>
        array (size=2)
          0 => int 800
          1 => int 800
  'ThumbType' => int 2
  'IsWatermark' => int 2
  'WatermarkSize' =>
    array (size=2)
      0 => int 300
      1 => int 200
  'WaterMarkText' => string 'IUWEN' (length=5)
  'WaterMarkTextColor' =>
    array (size=3)
      0 => int 255
      1 => int 255
      2 => int 255
  'WaterMarkTextType' => string 'static/font/msyh.ttc' (length=20)
  'WaterMarkTextSize' => int 14
  'WaterMarkImg' => string 'static/images/watermark.png' (length=27)
  'WaterMarkPosition' => int 5
  'CodeTextType' => string 'static/font/simsun.ttc' (length=22)
  'a' => string 'wangren' (length=7)
  'm' => string 'front' (length=5)
  'c' => string 'variable' (length=8)
  'p' => int 1
  'Version' => string '0.1.0' (length=5)
  'ROOT' => string 'G:/php/wangren.net/iuwen_www' (length=28)
  'INSTALL_DIR' => string '/' (length=1)
  'PUBLIC_COMM_FOLDER' => string 'G:/php/wangren.net/iuwen_www/app/public/common/' (length=47)
  'RUNTIME' => string 'Execution time: 2.2 millisecond,0.00219 second' (length=48)
  'CookiesPre' => string 'w_' (length=2)
  'AutoVersion' => string '20200205' (length=8)
  'W_id' => int 1
  'W_ide' =>
    array (size=1)
      'ff' => string '4eyrtu' (length=6)
  'SiteName' => string 'Wangran' (length=7)
  'SiteTitle' => string 'Wangran' (length=7)
  'MetaKeywords' => string 'Wangran' (length=7)
  'MetaDescription' => string 'Wangran' (length=7)
  'MwuiUrl' => string 'http://mwui.iuwen.net' (length=21)
  'AdminUrl' => string 'http://admin.iuwen.net' (length=22)
  'TinyUrl' => string 'http://tiny.iuwen.net' (length=21)
  'Wangren_Version' => string '1.0.0' (length=5)
  'WUI_Version' => string '1.1.0' (length=5)
  'MWUI_Version' => string '0.6.3' (length=5)
  'TINY_Version' => string '5.6.2' (length=5)
  'ADMIN_Version' => string '1.0.0' (length=5)
© 2021 Wangren.Net  Layui  tinyMCE  SUI Mobile