开发者

Displaying session, post, etc. data with Kohana 3 profiler?

I'm getting started with Kohana and haven't found a way to display session, cookie, post and server variables on a page with the profiler. When there's an exception, the default error view shows you what's wrong and exposes th开发者_JAVA技巧is environment data by default at the bottom.

Is there anyway to get the profiler to share the same info?


The profiler does not show global data on in Kohana v3. You would have to create a different view (or copy system/views/profiler/stats.php and edit) to show this additional information.

By default, this information is not shown on the profiler because it can be a security risk if the session contains private data, or $_POST contains a password, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜