예제 #1
0
 public function home($req, $req2)
 {
     //$article = Article::first();
     //echo __FILE__;
     //echo $req.'<br>'.$req2;
     //require dirname(__FILE__).'/../views/home.php';
     $this->view = \View::make('home')->with('article', Article::first())->withTitle('MFFC :-D')->withFindMe('OK!')->withReq($req)->with('req2', $req2);
     /*$this->mail = \Mail::to(['*****@*****.**', '*****@*****.**'])
     
                 ->from('M**********r <*****@*****.**>')
     
                 ->title('F**k Me!')
     
                 ->content('<h1>Hello~~</h1>');*/
     \Redis::set('key', 'value', 5, 's');
     echo \Redis::get('key') . '<br>';
 }