additional_plugins/serendipity_event_oembed/oembed/config.php
2011-12-15 01:42:11 +01:00

30 lines
1 KiB
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';
// Will be loaded via generic oembedprovider!
//require_once dirname(__FILE__) . '/' . 'YouTubeProvider.class.php';
require_once dirname(__FILE__) . '/' . 'ProviderManager.class.php';