diff options
Diffstat (limited to 'handlers/phpexec.inc.php')
-rw-r--r-- | handlers/phpexec.inc.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/handlers/phpexec.inc.php b/handlers/phpexec.inc.php index 76dccae..5b8c751 100644 --- a/handlers/phpexec.inc.php +++ b/handlers/phpexec.inc.php @@ -4,10 +4,7 @@ class phpexec_handler { function Get($data) { - if($data['title']) - $title = strtr($data['title'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); - else - $title = strtr($data['_page'], array(':' => ' - ')); + $title = strtr($data['_page'], array(':' => ' - ')); ob_start(); @@ -20,5 +17,5 @@ } } - $handlers['phpexec'] = new phpexec_handler; + $GLOBALS['handlers']['phpexec'] = new phpexec_handler; ?> |