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:
gerv%gerv.net 2002-04-18 19:59:00 +00:00
Родитель de6d4a7735
Коммит cb70cb2683
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -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";