minor changes
This commit is contained in:
parent
f2b9bc82ed
commit
935b69a416
@ -95,11 +95,10 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener {
|
|||||||
* Construct ManiaControl
|
* Construct ManiaControl
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
// Construct Error Handler
|
|
||||||
$this->errorHandler = new ErrorHandler($this);
|
|
||||||
|
|
||||||
$this->log('Loading ManiaControl v' . self::VERSION . ' ...');
|
$this->log('Loading ManiaControl v' . self::VERSION . ' ...');
|
||||||
|
|
||||||
|
$this->errorHandler = new ErrorHandler($this);
|
||||||
|
|
||||||
$this->loadConfig();
|
$this->loadConfig();
|
||||||
|
|
||||||
// Load ManiaControl Modules
|
// Load ManiaControl Modules
|
||||||
|
@ -10,6 +10,7 @@ namespace ManiaControl\Utils;
|
|||||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||||
*/
|
*/
|
||||||
abstract class ClassUtil {
|
abstract class ClassUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the Class Name of the given Object
|
* Get the Class Name of the given Object
|
||||||
*
|
*
|
||||||
|
@ -15,7 +15,7 @@ class CommandLineHelper {
|
|||||||
* Get the Command Line Parameter with the given Name
|
* Get the Command Line Parameter with the given Name
|
||||||
*
|
*
|
||||||
* @param string $paramName
|
* @param string $paramName
|
||||||
* @return mixed
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function getParameter($paramName) {
|
public static function getParameter($paramName) {
|
||||||
global $argv;
|
global $argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user