- possibility to specify perl path (only necessary on lighttpd)

This commit is contained in:
Michael Kaufmann (d00p)
2010-07-22 06:56:17 +00:00
parent 9191bc6c08
commit eaf70765d5
8 changed files with 45 additions and 5 deletions

View File

@@ -546,8 +546,8 @@ class lighttpd
}
$path_options.= ' $HTTP["url"] =~ "^' . $path . '($|/)" {' . "\n";
$path_options.= "\t" . 'cgi.assign = (' . "\n";
$path_options.= "\t\t" . '".pl" => "/usr/bin/perl",' . "\n";
$path_options.= "\t\t" . '".cgi" => "/usr/bin/perl"' . "\n";
$path_options.= "\t\t" . '".pl" => "'.makeCorrectFile($this->settings['system']['perl_path']).'",' . "\n";
$path_options.= "\t\t" . '".cgi" => "'.makeCorrectFile($this->settings['system']['perl_path']).'"' . "\n";
$path_options.= "\t" . ')' . "\n";
$path_options.= ' }' . "\n\n";
}