Commit 706e9e1c authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 138064 - False-positive error message in checksetup.pl when checking for…

Bug 138064 - False-positive error message in checksetup.pl when checking for "png" in data/webdot/.htaccess. Patch by ddk; 2xr=justdave.
parent 509faa04
...@@ -985,12 +985,14 @@ if(-e "data/params") { ...@@ -985,12 +985,14 @@ if(-e "data/params") {
} }
# Check .htaccess allows access to generated images # Check .htaccess allows access to generated images
open HTACCESS, "data/webdot/.htaccess"; if(-e "data/webdot/.htaccess") {
if(! grep(/png/,<HTACCESS>)) { open HTACCESS, "data/webdot/.htaccess";
print "Dependency graph images are not accessible.\n"; if(! grep(/png/,<HTACCESS>)) {
print "Delete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n"; print "Dependency graph images are not accessible.\n";
print "Delete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n";
}
close HTACCESS;
} }
close HTACCESS;
} }
} }
......
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