Private GIT

Skip to content
Snippets Groups Projects
Commit 42585e84 authored by Kevin Duret's avatar Kevin Duret
Browse files

missing midiawiki config check

parent d3c9352a
Branches
Tags
No related merge requests found
...@@ -29,7 +29,6 @@ function versionCentreon($pearDB) ...@@ -29,7 +29,6 @@ function versionCentreon($pearDB)
function Mediawikiconfigexist($url) function Mediawikiconfigexist($url)
{ {
return true;
$file_headers = @get_headers($url); $file_headers = @get_headers($url);
if ($file_headers[0] == 'HTTP/1.1 404 Not Found') { if ($file_headers[0] == 'HTTP/1.1 404 Not Found') {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment