/[gedafe]/trunk/example/demo1.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/example/demo1.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Mon Feb 14 18:59:03 2005 UTC (14 years, 10 months ago) by dpavlin
File size: 607 byte(s)
fix to example

1 #!/usr/bin/perl -w
2
3 # uncomment this when doing maintenance work:
4 # print "Content-Type: text/html\n\n";
5 # print "Database temporarily disabled for maintenance.<br>\n";
6 # exit;
7
8 use constant BASE_DIR => '/home/dpavlin/public_html/gedafe';
9
10 use lib BASE_DIR.'/lib/perl';
11
12 use Gedafe::Start;
13
14 $|=1; # do not buffer output to get a more responsive feeling
15
16 Start(
17 db_datasource => 'dbi:Pg:dbname=demo1',
18 list_rows => 15,
19 templates => BASE_DIR.'/example/templates',
20 pearl_dir => BASE_DIR.'/example/mypearls',
21 isearch => 'java/isearch.jar',
22 show_row_count => 0,
23 );

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26