Changeset 138 for devel/web/index.pas
- Timestamp:
- Jan 15, 2009, 9:57:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/web/index.pas
r137 r138 1 program Hello;1 program Index; 2 2 3 3 {$mode delphi}{$H+} … … 14 14 SetHeader('Content-Type', 'text/html; charset=utf-8'); 15 15 PageName := GetCgiVar('p'); 16 if PageName = '' then PageName := ' index';16 if PageName = '' then PageName := 'news-rss'; 17 17 I := 0; 18 18 while (I < Length(Pages)) and (Pages[I].Name <> PageName) do Inc(I);
Note:
See TracChangeset
for help on using the changeset viewer.