X-Git-Url: http://aymargeddon.de/gitweb/?p=aymargeddon%2Fcurrent.git;a=blobdiff_plain;f=src%2FFROGS%2FConfig.pm;h=5ee397de68f5f8a38367af06669134532e3f5338;hp=365ec47c3f484ee9428525f3c5cda5935838c895;hb=f67c6dd32094e525b54a599e96416fa1d701296a;hpb=edbdf981639e5bc7d16a8ccd7e59ce2cf71bd142
diff --git a/src/FROGS/Config.pm b/src/FROGS/Config.pm
index 365ec47..5ee397d 100644
--- a/src/FROGS/Config.pm
+++ b/src/FROGS/Config.pm
@@ -1,27 +1,31 @@
##########################################################################
#
-# Copyright (c) 2003 Aymargeddon Development Team
+# Copyright (c) 2003-2012 Aymargeddon Development Team
#
-# This file is part of "Last days of Aymargeddon"
-#
-# Aymargeddon is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 2 of the License, or (at your option)
-# any later version.
-#
-# Aymargeddon is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-# more details.
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc., 675
-# Mass Ave, Cambridge, MA 02139, USA.
+# This file is part of "Last days of Aymargeddon" - a massive multi player
+# onine game of strategy
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
+# See the GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
###########################################################################
#
# TODO: seperate FROGS-config from Aymargeddon-config in different files
+# TODO: add some kind of local configuration file (db-passwd etc...)
+
# change this file to configure your game
use strict;
@@ -40,7 +44,7 @@ $::conf = {
-DEFAULT_LANGUAGE => 'EN',
-LOG_TIME_IN_LOOP => 1000, # loops until next time output in log
-DEBUG => 1,
- -EPL_DEBUG => 2,
+ -EPL_DEBUG => 1,
-MESSAGE_IN_LOG => 0,
-FULL_DEBUG_FILE => '/home/benni/aymargeddon/current/src/FROGS/+out',
-SCHEDULER_SLEEP => 2,
@@ -200,6 +204,7 @@ while(){
next if /^\s*\#.*$/;
$::conf->{-DB_PASSWD} = $_;
}
+
close CONFIG or die "could not close config file $conf: $!\n";
1;