Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在浏览器中显示日志文件。我想做类似的事情
if(isset($_Get['showlog'] && $_Get['showlog']==1){ $this_>redner('output', application.log); }
在 yii 中可以做到这一点吗?我该怎么做?
非常感谢你的帮助 :)
if (isset(Yii::app()->request->getQuery('showlog')) { $this->render('output', application.log); }
文件