equal
deleted
inserted
replaced
|
1 <?php |
|
2 /* |
|
3 Plugin Name: Exec-PHP |
|
4 Plugin URI: http://bluesome.net/post/2005/08/18/50/ |
|
5 Description: Executes <?php ?> code in your posts, pages and text widgets. |
|
6 Author: Sören Weber |
|
7 Author URI: http://bluesome.net |
|
8 Version: 4.9 |
|
9 */ |
|
10 |
|
11 require_once(dirname(__FILE__).'/includes/manager.php'); |
|
12 |
|
13 // ---------------------------------------------------------------------------- |
|
14 // main |
|
15 // ---------------------------------------------------------------------------- |
|
16 |
|
17 global $g_execphp_manager; |
|
18 if (!isset($g_execphp_manager)) |
|
19 // strange assignment because of explaination how references work; |
|
20 // this will generate warnings with error_reporting(E_STRICT) using PHP5; |
|
21 // http://www.php.net/manual/en/language.references.whatdo.php |
|
22 $GLOBALS['g_execphp_manager'] =& new ExecPhp_Manager(); |
|
23 |
|
24 ?> |