diff -ur trunk/onis systemwide-patch/onis
--- trunk/onis 2005-04-23 10:46:17.000000000 +0200
+++ systemwide-patch/onis 2005-04-23 10:47:37.000000000 +0200
@@ -15,10 +15,6 @@
BEGIN
{
- if ($0 =~ m#^(.*)[/\\]#) { chdir ($1); }
-
- unshift (@INC, 'lib');
-
# 0x0010 Language (make not-translated lines red/yellow)
# 0x0020 Parser (dropped lines)
# 0x0040 Parser (time information)
@@ -72,13 +68,13 @@
our $PurgeLogs = 0;
parse_argv (@ARGV);
-read_config (get_config ('config') ? get_config ('config') : 'onis.conf');
+read_config (get_config ('config') ? get_config ('config') : '/etc/onis/onis.conf');
read_config (scalar get_config ('theme')) if (get_config ('theme'));
my $output = get_config ('output');
if (!$output)
{
- $output = "reports/onis.html";
+ $output = "onis.html";
}
foreach ('Core', get_config ('plugin'))
diff -ur trunk/onis.conf systemwide-patch/onis.conf
--- trunk/onis.conf 2005-04-23 10:41:33.000000000 +0200
+++ systemwide-patch/onis.conf 2005-04-23 10:47:37.000000000 +0200
@@ -171,9 +171,9 @@
# Style settings. If no theme is given this might result in a lot of very
# weird errors, so better set one ;)
# Valid themes as of onis 0.7.0: light, liner, dark
-theme: "themes/light.theme";
+theme: "/usr/share/onis/themes/light.theme";
# Read translations from this file.
# One of:
# english.lang german.lang norwegian.lang spanish.lang swedish.lang
-language_file: "lang/english.lang";
+language_file: "/usr/share/onis/lang/english.lang";
syntax highlighted by Code2HTML, v. 0.9.1