Changeset 216 for trunk/dns.cgi
- Timestamp:
- 01/04/12 23:25:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r213 r216 32 32 #die "argh! \@INC got tainted!" if is_tainted(@INC); 33 33 34 # custom modules 35 use lib '.'; 34 # don't remove! required for GNU/FHS-ish install from tarball 35 use lib '.'; ##uselib## 36 36 37 use DNSDB qw(:ALL); 37 38 … … 41 42 # Let's do these templates right... 42 43 my $templatedir = "templates"; 43 my $sessiondir = "session";44 44 45 45 # Set up the CGI object... … … 64 64 # persistent stuff needed on most/all pages 65 65 my $sid = ($webvar{sid} ? $webvar{sid} : undef); 66 my $session = new CGI::Session("driver:File", $sid, {Directory => $ sessiondir})66 my $session = new CGI::Session("driver:File", $sid, {Directory => $config{sessiondir}}) 67 67 or die CGI::Session->errstr(); 68 68 #$sid = $session->id() if !$sid;
Note:
See TracChangeset
for help on using the changeset viewer.