解决Redefining already defined constructor for class times
ECSHOP错误Redefining already defined constructor for class如何解决
把代码1 放到代码2后面就解决错误了 全文:http://www.cnblogs.com/ecshop/p/3818449.html
附:
第一种方法治标,加一句error_reporting(E_ERROR | E_WARNING | E_PARSE);
第二种方法治本:
删除构造函数,比如times类的话就删除
- function times($action = '')
- {
- $this->__construct($action);
- }
- 全文:http://www.hankcs.com/program/redefining-already-defined-constructor-for-class-times.html