git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11870
e03df62e-2008-0410-955e-
edbf42e46eb7
# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path.
# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path.
- $file = $confpath . $file;
+ $file = $runpath . $file;
}
# Have we checked this file before?
}
# Have we checked this file before?
$filesparsed{$file} = 1;
# Open the File..
$filesparsed{$file} = 1;
# Open the File..
- open INFILE, "< $file" or die "Unable to open file $file included in configuration\n";
+ open INFILE, '<', $file or die "Unable to open file $file included in configuration\n";
# Grab entire file contents..
my(@lines) = <INFILE>;
# Close the file
# Grab entire file contents..
my(@lines) = <INFILE>;
# Close the file
- if (-f $confpath . $pidfile)
+ if (-f $runpath . $pidfile)
- $pidfile = $confpath . $pidfile;
+ $pidfile = $runpath . $pidfile;
- if (-f $confpath . $pidfile)
+ if (-f $runpath . $pidfile)
- $pidfile = $confpath . $pidfile;
+ $pidfile = $runpath . $pidfile;
# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path..
# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path..
- $file = $confpath . $file;
+ $file = $runpath . $file;
}
# Have we checked this file before?
}
# Have we checked this file before?