[fortunate] Mark addon as unsupported
parent
f47e6cbc24
commit
7ee6c3a20c
|
@ -4,6 +4,7 @@
|
||||||
* Description: Add a random fortune cookie at the bottom of every pages. [Requires manual confguration.]
|
* Description: Add a random fortune cookie at the bottom of every pages. [Requires manual confguration.]
|
||||||
* Version: 1.0
|
* Version: 1.0
|
||||||
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||||||
|
* Status: Unsupported
|
||||||
*/
|
*/
|
||||||
use Friendica\Core\Addon;
|
use Friendica\Core\Addon;
|
||||||
use Friendica\Util\Network;
|
use Friendica\Util\Network;
|
||||||
|
@ -28,7 +29,7 @@ function fortunate_uninstall()
|
||||||
|
|
||||||
function fortunate_fetch(&$a, &$b)
|
function fortunate_fetch(&$a, &$b)
|
||||||
{
|
{
|
||||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'
|
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'
|
||||||
. $a->get_baseurl() . '/addon/fortunate/fortunate.css' . '" media="all" />' . "\r\n";
|
. $a->get_baseurl() . '/addon/fortunate/fortunate.css' . '" media="all" />' . "\r\n";
|
||||||
|
|
||||||
if (FORTUNATE_SERVER != 'hostname.com') {
|
if (FORTUNATE_SERVER != 'hostname.com') {
|
||||||
|
|
Loading…
Reference in New Issue