浏览代码

* Allow .cgi as extension

git-svn-id: trunk@17946 -
michael 14 年之前
父节点
当前提交
31df8d516b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/instantfpc/instantfptools.pas

+ 1 - 1
utils/instantfpc/instantfptools.pas

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