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 |
); |