Compare commits
No commits in common. "8f6e98ad46e734ac9239d2c36d8a102298b6abd8" and "9959373343514a502e9afcfccb0dbd5215b0d106" have entirely different histories.
8f6e98ad46
...
9959373343
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
// Enable error reporting
|
// Enable error reporting
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
// Change MySQLi report to match with policy before PHP 8.1
|
|
||||||
mysqli_report(MYSQLI_REPORT_OFF);
|
|
||||||
|
|
||||||
// Run configuration
|
// Run configuration
|
||||||
define('LOG_NAME_USE_DATE', true); // Use current date as suffix for log file name in logs folder
|
define('LOG_NAME_USE_DATE', true); // Use current date as suffix for log file name in logs folder
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
<!-- Server Connection Details -->
|
<!-- Server Connection Details -->
|
||||||
<host>127.0.0.1</host>
|
<host>127.0.0.1</host>
|
||||||
<port>5000</port>
|
<port>port</port>
|
||||||
|
|
||||||
<!-- XmlRpc Login Details -->
|
<!-- XmlRpc Login Details -->
|
||||||
<user>SuperAdmin</user>
|
<user>SuperAdmin</user>
|
||||||
<pass>SuperAdmin</pass>
|
<pass>password</pass>
|
||||||
|
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ class HelpManager implements CommandListener, CallbackListener, ManialinkPageAns
|
|||||||
* @param string $description
|
* @param string $description
|
||||||
* @param string $method
|
* @param string $method
|
||||||
*/
|
*/
|
||||||
public function registerCommand($name, $adminCommand = false, $description = '', $method = '') {
|
public function registerCommand($name, $adminCommand = false, $description = '', $method) {
|
||||||
// TODO replace with new class Command
|
// TODO replace with new class Command
|
||||||
if ($adminCommand) {
|
if ($adminCommand) {
|
||||||
array_push($this->adminCommands, array("Name" => $name, "Description" => $description, "Method" => $method));
|
array_push($this->adminCommands, array("Name" => $name, "Description" => $description, "Method" => $method));
|
||||||
|
@ -571,7 +571,7 @@ class StatisticManager implements UsageInformationAble {
|
|||||||
* @param string $statType
|
* @param string $statType
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function insertStat($statName, Player $player, $serverIndex = -1, $value = 0, $statType = self::STAT_TYPE_INT) {
|
public function insertStat($statName, Player $player, $serverIndex = -1, $value, $statType = self::STAT_TYPE_INT) {
|
||||||
// TODO: statType isn't used
|
// TODO: statType isn't used
|
||||||
if (!$player) {
|
if (!$player) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -131,7 +131,7 @@ class RequestsQueue extends EventDispatcher implements RequestsQueueInterface, \
|
|||||||
*
|
*
|
||||||
* @return int Handles count
|
* @return int Handles count
|
||||||
*/
|
*/
|
||||||
public function count(): int {
|
public function count() {
|
||||||
return count($this->queue);
|
return count($this->queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user