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

Diff of /trunk/example/demo1.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1  
changed lines
  Added in v.2

  ViewVC Help
Powered by ViewVC 1.1.26