Commit a193ea4d authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update ImageController.php

parent 663d39c7
......@@ -11,6 +11,7 @@ class ImageController extends Controller
{
public function generateImage(Request $request)
{
/*
#Piwik Code
PiwikTracker::$URL = 'http://piwik.metager3.de';
$piwikTracker = new PiwikTracker($idSite = 1);
......@@ -23,7 +24,7 @@ class ImageController extends Controller
// Sendet Tracker request per http
$piwikTracker->doTrackPageView($site);
*/
$path = public_path() . '/img/1px.png';
$fileType = File::type($path);
$response = Response::make(File::get($path), 200);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment