summaryrefslogtreecommitdiff
path: root/www/webinject/files/patch-webinject.pl
blob: 27b3b5007d0c2d0da3cae2c63f00c70fe4de0732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- webinject.pl.orig	Wed Jan  4 19:10:30 2006
+++ webinject.pl	Mon Sep  4 16:19:08 2006
@@ -1362,12 +1362,12 @@
 #------------------------------------------------------------------
 sub getdirname {  #get the directory webinject engine is running from
         
-    $dirname = $0;    
-    $dirname =~ s~(.*/).*~$1~;  #for nix systems
-    $dirname =~ s~(.*\\).*~$1~; #for windoz systems   
-    if ($dirname eq $0) { 
+#    $dirname = $0;    
+#    $dirname =~ s~(.*/).*~$1~;  #for nix systems
+#    $dirname =~ s~(.*\\).*~$1~; #for windoz systems   
+#    if ($dirname eq $0) { 
         $dirname = './'; 
-    }
+#    }
 }    
 #------------------------------------------------------------------
 sub getoptions {  #command line options