2018-09-01 01:50:29 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Connects to an spee.ch style server to host assets via the LBRY Protocol
|
|
|
|
*
|
|
|
|
* Visit https://github.com/lbryio/spee.ch for more info
|
|
|
|
*
|
|
|
|
* @package LBRYPress
|
|
|
|
*/
|
|
|
|
|
2018-09-01 03:14:12 +02:00
|
|
|
class LBRY_Speech
|
2018-09-01 01:50:29 +02:00
|
|
|
{
|
2018-09-11 22:10:15 +02:00
|
|
|
/**
|
|
|
|
* [__construct description]
|
|
|
|
*/
|
|
|
|
public function __construct()
|
2018-09-01 01:50:29 +02:00
|
|
|
{
|
|
|
|
}
|
2018-09-01 03:14:12 +02:00
|
|
|
|
|
|
|
public function get_address()
|
|
|
|
{
|
|
|
|
return get_option(LBRY_SPEECH);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function set_address($address)
|
|
|
|
{
|
|
|
|
update_option(LBRY_SPEECH, $address);
|
|
|
|
}
|
2018-09-01 01:50:29 +02:00
|
|
|
}
|