Opencart 筆記

// Model: catalog/model/account/api.php --> function login(); add AND 

- $this->db->escape($username) . "' `key` = '" . $this->db->escape($key)
+ $this->db->escape($username) . "' AND `key` = '" . $this->db->escape($key)

// Controller: catalog/controller/api/login.php

- $session = new Session($config->get('session_engine'), $registry);
+ $session = new Session($this->config->get('session_engine'), $this->registry);

Tips

  • 開發者可在後台關閉快取模式
  • 不要使用後台的模板編輯器,有了修改紀錄後 OC 就不會吃 your_target.twig 檔了

opencart mycncart zencart magento eshop 比较?

opencart mycncart zencart magento oscommerce eshop 比较各自优缺点,哪个更适合中小企业,哪个更加容易部署和维护,以及后期扩展

results matching ""

    No results matching ""