Changeset 1056
- Timestamp:
- 03/19/26 12:40:50 (3 hours ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
- 1 copied
-
. (modified) (1 prop)
-
dns-rpc.cgi (modified) (3 diffs)
-
dns-upd-1.4.2.sql (copied) (copied from trunk/dns-upd-1.4.2.sql )
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 1052-1053,1055
- Property svn:mergeinfo changed
-
branches/stable/dns-rpc.cgi
r1047 r1056 22 22 use warnings; 23 23 24 # push "the directory the script is in" into @INC 25 use FindBin; 26 use lib "$FindBin::RealBin/"; 24 # Taint-safe (ish) voodoo to push "the directory the script is in" into @INC. 25 # See https://secure.deepnet.cx/trac/dnsadmin/ticket/80 for more gory details on how we got here. 26 use File::Spec (); 27 use File::Basename (); 28 my $path; 29 BEGIN { 30 $path = File::Basename::dirname(File::Spec->rel2abs($0)); 31 if ($path =~ /(.*)/) { 32 $path = $1; 33 } 34 } 35 use lib $path; 27 36 28 37 use DNSDB; … … 374 383 } 375 384 385 376 386 =head3 revID 377 387 … … 398 408 return $revid; 399 409 } 400 401 410 402 411
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)