additional_plugins/serendipity_event_oembed/oembed/config.php
Grischa Brockhaus a46206acfc OEmbed:
* Added "generic providers" embed.ly and oohembed.com. 
* Removed the depending definitions in providers.xml
* Added a "generic provider" configuration with embed.ly API key.
2011-12-20 11:21:20 +01:00

27 lines
950 B
PHP

<?php
if (!defined("PLUGIN_OEMBED_PROVIDER_XML_FILE")) {
@define("PLUGIN_OEMBED_PROVIDER_XML_FILE", dirname(__FILE__) . '/' . "providers.xml");
}
// Include all class files
/*
$oembed_config_class_wildcard = dirname(__FILE__) . "/*class.php";
foreach (glob($oembed_config_class_wildcard) as $filename)
{
//echo "$filename<br/>\n";
@include $filename;
}
*/
require_once dirname(__FILE__) . '/' . 'Exception404.class.php';
require_once dirname(__FILE__) . '/' . 'OEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'LinkEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'PhotoEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'RichEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'VideoEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'EmbedProvider.class.php';
require_once dirname(__FILE__) . '/' . 'OEmbedProvider.class.php';
require_once dirname(__FILE__) . '/' . 'ProviderManager.class.php';