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