Changeset 1048 for branches/stable/textrecs.cgi
- Timestamp:
- 02/27/26 18:02:02 (4 hours ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
textrecs.cgi (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 834-837,840-841,843,852,889-890
- Property svn:mergeinfo changed
-
branches/stable/textrecs.cgi
r1047 r1048 3 3 ## 4 4 # $Id$ 5 # Copyright 2012-2014,2020 Kris Deugau <kdeugau@deepnet.cx>5 # Copyright 2012-2014,2020,2022 Kris Deugau <kdeugau@deepnet.cx> 6 6 # 7 7 # This program is free software: you can redistribute it and/or modify … … 28 28 use DBI; 29 29 30 # push "the directory the script is in" into @INC 31 use FindBin; 32 use lib "$FindBin::RealBin/"; 30 # Taint-safe (ish) voodoo to push "the directory the script is in" into @INC. 31 use File::Spec (); 32 use File::Basename (); 33 my $path; 34 BEGIN { 35 $path = File::Basename::dirname(File::Spec->rel2abs($0)); 36 if ($path =~ /(.*)/) { 37 $path = $1; 38 } 39 } 40 use lib $path; 33 41 34 42 use DNSDB;
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)