Changeset 86 for trunk/uribl/uridb.cgi
- Timestamp:
- 09/11/25 17:57:24 (5 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/uribl/uridb.cgi
r80 r86 74 74 $ENV{HTML_TEMPLATE_ROOT} = $templatedir; 75 75 76 my %config;77 my $sth = $dbh->prepare("SELECT key,value FROM misc");78 $sth->execute;79 while (my ($key,$value) = $sth->fetchrow_array) {80 $config{$key} = $value;81 }82 83 76 # decide which page to spit out... 84 77 if (!$webvar{page}) { … … 88 81 } 89 82 90 $page->param(pgtitle => $ config{pgtitle}) if defined($config{pgtitle});91 $page->param(pgcomment => $ config{pgcomment}) if defined($config{pgcomment});83 $page->param(pgtitle => $uridb->{cfg}{pgtitle}) if defined($uridb->{cfg}{pgtitle}); 84 $page->param(pgcomment => $uridb->{cfg}{pgcomment}) if defined($uridb->{cfg}{pgcomment}); 92 85 $page->param(cgiself => $cgiself); 93 86
Note:
See TracChangeset
for help on using the changeset viewer.