8000 Comparing top-think:master...jjsty1e:master · top-think/thinkphp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 4, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: top-think/thinkphp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: jjsty1e/thinkphp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 12, 2016

  1. 当数据库配置有误(文件名/路径错误)时,new一个Model模型会报“无法加载数据库驱动: Think\Db\Driver\”错误,一般人…

    …并不知道是因为数据库配置不当造成的,这里应该是Think\Db\Driver\DB_TYPE ,因为type为''所以显示是这样,所以想到修改一下错误提示为"加载数据库类型配置失败,请检查配置文件"
    jjsty1e committed Jun 12, 2016
    Configuration menu
    Copy the full SHA
    7b55efd View commit details
    Browse the repository at this point in the history
  2. 如果一个方法里面多次$this->display()不同的部分页面内容时会报Warning: Cannot modify header i…

    …nformation - headers already sent by ...,为了消除这个警告,设置一个静态属性,这样第二次调用render方法时不会出现如上的警告了(对新手还是比较有用的,比如我)
    jjsty1e committed Jun 12, 2016
    Configuration menu
    Copy the full SHA
    2b159c2 View commit details
    Browse the repository at this point in the history
Loading
0