用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2783|回复: 2
收起左侧

firephp的firebug安装问题?请高手帮忙!

[复制链接]
发表于 2011-6-19 18:45:31 | 显示全部楼层 |阅读模式
1.安装了firefox
2.安装了firebug
3. 从http://www.firephp.org/DownloadRelease/FirePHPLibrary-FirePHPCore-0.2.1这里安装最新版本的firephp的source code     从里面抠出FirePHP.class.php,放置到application/libraries中,并且重命名为firephp.php

经过上述三步后

把下面的代码放在Controller里index方法里应该firefox的控制台里有效果的为什么没有。

   $this->load->library('firephp');
    $myvariable = array (
      'language' => 'PHP',
      'database' => 'MySQL',
      'blogging platform' => 'WordPress',
      'post' => 'CodeIgniter and FirePHP',
    );
    $this->firephp->log($myvariable);


发表于 2011-6-20 09:13:12 | 显示全部楼层
$firephp = FirePHP::getInstance(true);
要这样初始化以下的啊
 楼主| 发表于 2011-6-20 23:04:28 | 显示全部楼层
谢谢

本版积分规则