2009-02-07 00:10:58 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Plugin Name: Plugin Wonderful
|
2009-02-14 15:03:19 +00:00
|
|
|
Plugin URI: http://www.coswellproductions.com/wordpress/wordpress-plugins/
|
2009-02-07 00:10:58 +00:00
|
|
|
Description: Easily embed a Project Wonderful publisher's advertisements.
|
2009-07-07 00:42:54 +00:00
|
|
|
Version: 0.5.1
|
2009-02-07 00:10:58 +00:00
|
|
|
Author: John Bintz
|
2009-07-01 12:21:32 +00:00
|
|
|
Author URI: http://www.coswellproductions.com/wordpress/
|
2009-02-07 00:10:58 +00:00
|
|
|
|
2009-03-25 11:08:14 +00:00
|
|
|
Copyright 2009 John Bintz (email : john@coswellproductions.com)
|
2009-02-07 00:10:58 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2009-07-06 23:41:44 +00:00
|
|
|
foreach (glob(dirname(__FILE__) . '/classes/*.php') as $__file) { require_once($__file); }
|
|
|
|
foreach (glob(dirname(__FILE__) . '/views/*.php') as $__file) { require_once($__file); }
|
2009-02-07 00:10:58 +00:00
|
|
|
|
|
|
|
define('PLUGIN_WONDERFUL_XML_URL', 'http://www.projectwonderful.com/xmlpublisherdata.php?publisher=%d');
|
2009-02-14 15:03:19 +00:00
|
|
|
define('PLUGIN_WONDERFUL_UPDATE_TIME', 60 * 60 * 12); // every 12 hours
|
2009-02-07 00:10:58 +00:00
|
|
|
|
|
|
|
$plugin_wonderful = new PluginWonderful();
|
2009-07-06 23:36:05 +00:00
|
|
|
$plugin_wonderful->_setup_actions();
|
2009-02-07 00:10:58 +00:00
|
|
|
|
2009-06-23 02:19:07 +00:00
|
|
|
?>
|