https://github.com/mcatm/Opauth-Plugin-for-Codeigniter
看了半天下面这个安装说明,感觉很不清晰.
1. 'opauth' folder to 'third_party' folder in CI.
2. write path to plugins on controller
$this->load->add_package_path(APPPATH.'third_party/opauth/');
1.you can write config on third_party config files
$this->load->config('opauth'); $config = $this->config->item('opauth_{******}');
2. initialize library
$this->load->library('opauth', $config);
大家帮帮忙, 说一下具体怎么用阿?
看了半天下面这个安装说明,感觉很不清晰.
1. 'opauth' folder to 'third_party' folder in CI.
2. write path to plugins on controller
$this->load->add_package_path(APPPATH.'third_party/opauth/');
1.you can write config on third_party config files
$this->load->config('opauth'); $config = $this->config->item('opauth_{******}');
2. initialize library
$this->load->library('opauth', $config);
大家帮帮忙, 说一下具体怎么用阿?