php - How to display the logfile in a browser YII -


i need display logfile in browser.

    if(isset($_get['showlog'] && $_get['showlog']==1){           $this_>redner('output', application.log);     } 

is possible in yii? , how it?

thanks lot :)

if (isset(yii::app()->request->getquery('showlog')) {           $this->render('output', application.log); } 

documentation


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -