Skip to content

Commit

Permalink
remove debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
nekromoff committed Apr 18, 2017
1 parent 95a5bff commit 12fc20d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions app/Http/Controllers/EIAController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,'<br />'; flush(); ob_flush();
//echo $document->url,'<br />'; 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:
Expand All @@ -457,12 +457,4 @@ private function updateContentTypes() {
}
}

}

/*
Kraje:
search[country]
<option value="0">Celoštátny dosah</option><option value="6">Banskobystrický</option><option value="1" selected="selected">Bratislavský</option><option value="8">Košický</option><option value="4">Nitriansky</option><option value="7">Prešovský</option><option value="3">Trenčiansky</option><option value="2">Trnavský</option><option value="5">Žilinský</option></select>
*/
}

0 comments on commit 12fc20d

Please sign in to comment.