mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 138064 - False-positive error message in checksetup.pl when checking for "png" in data/webdot/.htaccess. Patch by ddk; 2xr=justdave.
This commit is contained in:
parent
600f6c8bb1
commit
10eb92bad0
@ -985,12 +985,14 @@ if(-e "data/params") {
|
||||
}
|
||||
|
||||
# Check .htaccess allows access to generated images
|
||||
open HTACCESS, "data/webdot/.htaccess";
|
||||
if(! grep(/png/,<HTACCESS>)) {
|
||||
print "Dependency graph images are not accessible.\n";
|
||||
print "Delete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n";
|
||||
if(-e "data/webdot/.htaccess") {
|
||||
open HTACCESS, "data/webdot/.htaccess";
|
||||
if(! grep(/png/,<HTACCESS>)) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user