Changeset 138 for devel/web/index.pas


Ignore:
Timestamp:
Jan 15, 2009, 9:57:44 PM (16 years ago)
Author:
george
Message:
  • Přidáno: Zobrazení RSS kanálu aktualit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/web/index.pas

    r137 r138  
    1 program Hello;
     1program Index;
    22
    33{$mode delphi}{$H+}
     
    1414  SetHeader('Content-Type', 'text/html; charset=utf-8');
    1515  PageName := GetCgiVar('p');
    16   if PageName = '' then PageName := 'index';
     16  if PageName = '' then PageName := 'news-rss';
    1717  I := 0;
    1818  while (I < Length(Pages)) and (Pages[I].Name <> PageName) do Inc(I);
Note: See TracChangeset for help on using the changeset viewer.