additional_plugins/serendipity_plugin_flickrbadge/serendipity_plugin_flickrbadge.php
Thomas Hochstein 75d8216515 Fixes from emerge_spartacus runs.
Analyzing the Spartacus creation logfiles
lead to some fixes, mostly old PHP constructors
and some bugs around constants.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 22:21:19 +01:00

21 lines
679 B
PHP

<?php
/**
* serendipity_plugin_flickrbadge - Your last photos from Flickr.com
*
* Serendipity plugin implementing a sidebar item which displays your last photos
* you have added to Flickr.com
*
* @author Lars Strojny <lars@strojny.net>
*/
@define('SERENDIPITY_PLUGIN_FLICKRBADGE_VERSION', '0.13.1');
if (IN_serendipity != true) die("Don't hack");
if (version_compare(phpversion(), '5.1.0', '>=')) {
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
if (file_exists($probelang)) include $probelang;
else include 'lang_en.inc.php';
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'plugin.inc.php';
}