web/wp-content/plugins/exec-php/exec-php.php
author hurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 01 Feb 2010 09:51:57 +0000
branchwordpress
changeset 123 561aa6d282f6
permissions -rw-r--r--
pre production version : ****************************** Template evolution : - css ( so much things) - js ( new navigation tools ...) - lib for php ZIp - function.php (for download LDT and other litle function) - page (header, home, footer, single, search, searchform, post ...) ****************************** New plug in : - wp touch - wp explorer - TextCutter - ultimate-google-analytics - nice titles ****************************** Plug in customization : - related-posts-by-category - posts-of-current-category - order-categories - event-calendar - translation wp explorer - exec-php ****************************** Road map for next version : - cleaning php code put template function to new plugin - cleaning Css code - re organize Js code - all new correction ask

<?php
/*
Plugin Name: Exec-PHP
Plugin URI: http://bluesome.net/post/2005/08/18/50/
Description: Executes &lt;?php ?&gt; code in your posts, pages and text widgets.
Author: S&ouml;ren Weber
Author URI: http://bluesome.net
Version: 4.9
*/

require_once(dirname(__FILE__).'/includes/manager.php');

// ----------------------------------------------------------------------------
// main
// ----------------------------------------------------------------------------

global $g_execphp_manager;
if (!isset($g_execphp_manager))
	// strange assignment because of explaination how references work;
	// this will generate warnings with error_reporting(E_STRICT) using PHP5;
	// http://www.php.net/manual/en/language.references.whatdo.php
	$GLOBALS['g_execphp_manager'] =& new ExecPhp_Manager();

?>