additional_plugins/alpha/serendipity_plugin_heavyrotation/serendipity_plugin_heavyrotation.php
Matthias Mees 40b527040d Deprecate broken plugins
- serendipity_event_communityrating (sidebar plugin throws a
  frontend error)
- serendipity_plugin_pagerank (throws a frontend error)
- serendipity_plugin_heavyrotation (throws a frontend error)
- serendipity_plugin_shoutcast (throws errors in frontend and
  backend)
2017-05-08 09:57:06 +02:00

21 lines
712 B
PHP

<?php
/**
* serendipity_plugin_heavyrotation - Displaying Heavy Rotation
*
* Serendipity plugin implementing a Last.fm/Audioscrobbler based Heavy Rotation
* visualisation with the cover image fetched from Amazon.
*
* @author Lars Strojny <lars@strojny.net>
*/
@define('SERENDIPITY_PLUGIN_HEAVYROTATION_VERSION', '0.10');
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';
}