From 12fc20d2d87ce5564db110bf40aadb0b007cdf77 Mon Sep 17 00:00:00 2001 From: Daniel Duris Date: Tue, 18 Apr 2017 02:02:55 +0200 Subject: [PATCH] remove debug line --- app/Http/Controllers/EIAController.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/app/Http/Controllers/EIAController.php b/app/Http/Controllers/EIAController.php index 610f980..23c6543 100644 --- a/app/Http/Controllers/EIAController.php +++ b/app/Http/Controllers/EIAController.php @@ -447,7 +447,7 @@ public function retrieveData($searchparams='') { private function updateContentTypes() { $documents=\App\Document::where('mimefiletype','_unknown')->get(); foreach ($documents as $document) { - echo $document->url,'
'; flush(); ob_flush(); + //echo $document->url,'
'; flush(); ob_flush(); $response=Guzzle::head('http://www.enviroportal.sk'.$document->url); $contenttype=$response->getHeader('content-type'); // fix broken reporting by server - ZIP is served as HTML: @@ -457,12 +457,4 @@ private function updateContentTypes() { } } -} - -/* - -Kraje: -search[country] - - - */ \ No newline at end of file +} \ No newline at end of file