mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* Allow .cgi as extension
git-svn-id: trunk@17946 -
This commit is contained in:
parent
1726c0b14d
commit
31df8d516b
@ -49,7 +49,7 @@ begin
|
||||
// avoid name clashes
|
||||
Ext:=lowercase(ExtractFileExt(Filename));
|
||||
if (Ext<>'') and (Ext<>'.pas') and (Ext<>'.pp') and (Ext<>'.p')
|
||||
and (Ext<>'.lpr') and (Ext<>'.txt') and (Ext<>'.sh')
|
||||
and (Ext<>'.lpr') and (Ext<>'.txt') and (Ext<>'.sh') and (Ext<>'.cgi')
|
||||
then begin
|
||||
writeln('invalid source extension ',Ext);
|
||||
Halt(1);
|
||||
|
Loading…
Reference in New Issue
Block a user