欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

使用说明 - 新浪PHP框架纯净版1.1(带漂亮的瀑布流模板)

程序员文章站 2022-05-29 12:16:33
...
1、本例子用到 Xweibo,该框架详细技术说明见:
http://x.weibo.com/download.html

2、使用本例子,仅需要做到:
若无使用memcache,修改配置文件user_config.php 53行

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

修改文件 application\controllers\index.mod.php 11行

$this->con = APP::O('open56Client',"********","******");
->
$this->con = APP::O('open56Client',"你在56申请到的APPKEY","你在56申请到的APPSECRET");

3、然后上传到服务器即可看到结果。

  1. 1、本例子用到 Xweibo,该框架详细技术说明见:
  2. http://x.weibo.com/download.html
  3. 2、使用本例子,仅需要做到:
  4. 若无使用memcache,修改配置文件user_config.php 53行
  5. define('CACHE_ADAPTER', 'memcache');
  6. ->
  7. define('CACHE_ADAPTER', 'file');
  8. 修改文件 application\controllers\index.mod.php 11行
  9. $this->con = APP::O('open56Client',"","");
  10. ->
  11. $this->con = APP::O('open56Client',"你在56申请到的APPKEY","你在56申请到的APPSECRET");
  12. 3、然后上传到服务器即可看到结果。
复制代码