mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +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
|
// avoid name clashes
|
||||||
Ext:=lowercase(ExtractFileExt(Filename));
|
Ext:=lowercase(ExtractFileExt(Filename));
|
||||||
if (Ext<>'') and (Ext<>'.pas') and (Ext<>'.pp') and (Ext<>'.p')
|
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
|
then begin
|
||||||
writeln('invalid source extension ',Ext);
|
writeln('invalid source extension ',Ext);
|
||||||
Halt(1);
|
Halt(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user