1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Changes config file path to /etc/drraw/drraw.conf
Author: Mohammad Ebrahim Mohammadi Panah <ebrahim@mohammadi.ir>
Last-Update: 2010-05-10
--- drraw.upstream/drraw.cgi 2008-12-15 23:57:22.000000000 +0330
+++ drraw/drraw.cgi 2008-12-15 23:31:06.000000000 +0330
@@ -49,7 +49,7 @@
# The configuration file is expected to be found in the same directory
# as drraw itself. You may customize this to be elsewhere.
-my $config = (dirname($0) =~ /(.*)/)[0] . "/drraw.conf"; # Untaint
+my $config = "/etc/drraw/drraw.conf"; # Untaint
# This needs to be manually set for stupid stupid File::Find to work
# in tainted mode.
|