зеркало из 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,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче