- Timestamp:
- 03/19/26 12:36:05 (3 days ago)
- File:
-
- 1 edited
-
trunk/dns-rpc.cgi (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r1053 r1055 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;
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)