зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
de6d4a7735
Коммит
cb70cb2683
|
@ -985,6 +985,7 @@ if(-e "data/params") {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check .htaccess allows access to generated images
|
# Check .htaccess allows access to generated images
|
||||||
|
if(-e "data/webdot/.htaccess") {
|
||||||
open HTACCESS, "data/webdot/.htaccess";
|
open HTACCESS, "data/webdot/.htaccess";
|
||||||
if(! grep(/png/,<HTACCESS>)) {
|
if(! grep(/png/,<HTACCESS>)) {
|
||||||
print "Dependency graph images are not accessible.\n";
|
print "Dependency graph images are not accessible.\n";
|
||||||
|
@ -993,6 +994,7 @@ if(-e "data/params") {
|
||||||
close HTACCESS;
|
close HTACCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче