additional_plugins/serendipity_event_oembed/oembed/config.php

24 lines
933 B
PHP
Raw Normal View History

2011-12-14 12:18:36 +01:00
<?php
if (!defined("PLUGIN_OEMBED_PROVIDER_XML_FILE")) {
@define("PLUGIN_OEMBED_PROVIDER_XML_FILE", dirname(__FILE__) . '/' . "providers.xml");
}
2011-12-14 12:18:36 +01:00
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';
// Include all custom providers if any
$oembed_config_class_wildcard = dirname(__FILE__) . "/customs/*class.php";
foreach (glob($oembed_config_class_wildcard) as $filename)
{
@include $filename;
}