removed 'application' folder to have everything in the root directory
This commit is contained in:
26
libs/Maniaplanet/DedicatedServer/Structures/FileDesc.php
Executable file
26
libs/Maniaplanet/DedicatedServer/Structures/FileDesc.php
Executable file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* ManiaPlanet dedicated server Xml-RPC client
|
||||
*
|
||||
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
|
||||
*/
|
||||
|
||||
namespace Maniaplanet\DedicatedServer\Structures;
|
||||
|
||||
class FileDesc extends AbstractStructure
|
||||
{
|
||||
/** @var string */
|
||||
public $fileName;
|
||||
/** @var string */
|
||||
public $checksum;
|
||||
|
||||
/**
|
||||
* @return FileDesc
|
||||
*/
|
||||
public static function fromArray($array)
|
||||
{
|
||||
$object = parent::fromArray($array);
|
||||
$object->fileName = str_replace("\xEF\xBB\xBF", '', $object->fileName);
|
||||
return $object;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user