Home  >  Article  >  Backend Development  >  Instructions for use - Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)

Instructions for use - Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)

WBOY
WBOYOriginal
2016-07-25 09:06:23881browse
1. This example uses Xweibo. For detailed technical description of this framework, see:
http://x.weibo.com/download.html

2. To use this example, you only need to do:
If memcache is not used, modify line 53 of the configuration file user_config.php

define('CACHE_ADAPTER', 'memcache');
->
define('CACHE_ADAPTER', 'file');

Modify file applicationcontrollersindex.mod.php line 11

$this->con = APP::O('open56Client',"********","******");
->
$this->con = APP::O('open56Client',"APPKEY you applied for on 56", "APPSECRET you applied for on 56");

3. Then upload it to the server to see the results.

  1. 1. This example uses Xweibo. For detailed technical description of this framework, please see:
  2. http://x.weibo.com/download.html
  3. 2. To use this example, you only need to do the following:
  4. If not used memcache, modify the configuration file user_config.php line 53
  5. define('CACHE_ADAPTER', 'memcache');
  6. ->
  7. define('CACHE_ADAPTER', 'file');
  8. modify the file applicationcontrollersindex.mod.php line 11
  9. $this->con = APP::O('open56Client',"","");
  10. ->
  11. $this->con = APP::O('open56Client',"You are in 56 "APPKEY you applied for", "APPSECRET you applied for at 56");
  12. 3. Then upload it to the server to see the results.
Copy code


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn