comment out RSS stuff for now

This commit is contained in:
Nabeel Shahzad
2017-08-17 14:01:47 -05:00
parent b2dba02615
commit bec2bbf646
7 changed files with 59 additions and 21 deletions

View File

@@ -3,8 +3,6 @@
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use Feed;
class DashboardController extends BaseController
{
@@ -13,10 +11,11 @@ class DashboardController extends BaseController
*/
public function index(Request $request)
{
Feed::$cacheDir = storage_path('app');
/*Feed::$cacheDir = storage_path('app');
Feed::$cacheExpire = '5 hours';
$feed = Feed::loadRss(config('phpvms.feed_url'));
$feed = Feed::loadRss(config('phpvms.feed_url'));*/
$feed = [];
return view('admin.dashboard', [
'feed' => $feed,
]);