1: <?php
2: /**
3: * ManiaLive - TrackMania dedicated server manager in PHP
4: *
5: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
6: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
7: * @version $Revision: 440 $:
8: * @author $Author: martin.gwendal $:
9: * @date $Date: 2012-08-17 12:03:09 +0200 (ven., 17 août 2012) $:
10: */
11:
12: namespace ManiaLive\Config;
13:
14: class Config extends \ManiaLib\Utils\Singleton
15: {
16: // base path for logging
17: public $logsPath;
18: public $logsPrefix = 'manialive';
19: // enable runtime logging?
20: public $runtimeLog = false;
21: // log all errors from all instances?
22: public $globalErrorLog = false;
23: public $maxErrorCount = false;
24: public $dedicatedPath = APP_ROOT;
25: //Set to true to disable the updater
26: public $lanMode = false;
27: public $debug = false;
28: public $verbose = true;
29:
30: function __construct()
31: {
32: $this->logsPath = APP_ROOT.'logs';
33: }
34: }
35:
36: ?>
37: