moved Libs out of core folder
This commit is contained in:
30
application/libs/Maniaplanet/DedicatedServer/Xmlrpc/Base64.php
Executable file
30
application/libs/Maniaplanet/DedicatedServer/Xmlrpc/Base64.php
Executable file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* ManiaPlanet dedicated server Xml-RPC client
|
||||
*
|
||||
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
|
||||
*/
|
||||
|
||||
namespace Maniaplanet\DedicatedServer\Xmlrpc;
|
||||
|
||||
class Base64
|
||||
{
|
||||
public $scalar;
|
||||
public $xmlrpc_type = 'base64';
|
||||
|
||||
/**
|
||||
* @param string $data
|
||||
*/
|
||||
function __construct($data)
|
||||
{
|
||||
$this->scalar = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
function __toString()
|
||||
{
|
||||
return $this->scalar;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user