/[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

Annotation of /trunk/example/demo1.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations)
Wed Feb 16 15:02:10 2005 UTC (19 years, 1 month ago) by dpavlin
File size: 592 byte(s)
moved installation to /usr/local/gedafe

1 dpavlin 2 #!/usr/bin/perl -w
2 dpavlin 1
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 dpavlin 12 use constant BASE_DIR => '/usr/local/gedafe';
9 dpavlin 1
10 dpavlin 2 use lib BASE_DIR.'/lib/perl';
11    
12 dpavlin 1 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 dpavlin 2 templates => BASE_DIR.'/example/templates',
20     pearl_dir => BASE_DIR.'/example/mypearls',
21 dpavlin 1 isearch => 'java/isearch.jar',
22     show_row_count => 0,
23     );

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26