web/wp-content/plugins/exec-php/exec-php.php
author hurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 08 Feb 2010 14:15:44 +0000
changeset 144 df0ebfb22f63
parent 136 bde1974c263b
permissions -rw-r--r--
- Added Path variable in the config file for the LDT's donwloader script (functions.php) - Added the /ldt_template in the res directory - Modify default-widgets.php to open in blank all the rss link - clean a litlle comment in searchform.php

<?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();

?>