summaryrefslogtreecommitdiffstats
path: root/handlers/phpexec.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/phpexec.inc.php')
-rw-r--r--handlers/phpexec.inc.php7
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('<' => '&lt;', '>' => '&gt;', '&' => '&amp;', '"' => '&quot;'));
- 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;
?>