How to setup different database connection based on environment - codeigniter 3

前端 未结 0 561
暗喜
暗喜 2021-02-01 11:42

I have set up environment on my codeigniter project as development, production.

I have used this code.


switch($_SERVER["HTTP_HOST"]){
 case &quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题