1 |
dpavlin |
1 |
#!/usr/bin/speedy -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 lib "/usr/local/gedafe/lib/perl"; |
9 |
|
|
|
10 |
|
|
use Gedafe::Start; |
11 |
|
|
|
12 |
|
|
$|=1; # do not buffer output to get a more responsive feeling |
13 |
|
|
|
14 |
|
|
Start( |
15 |
|
|
db_datasource => 'dbi:Pg:dbname=demo1', |
16 |
|
|
list_rows => 15, |
17 |
|
|
templates => '/usr/local/gedafe/example/templates', |
18 |
|
|
pearl_dir => '/usr/local/gedafe/example/mypearls', |
19 |
|
|
isearch => 'java/isearch.jar', |
20 |
|
|
show_row_count => 0, |
21 |
|
|
); |