diff options
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/default.inc.php | 2 | ||||
-rw-r--r-- | handlers/phpexec.inc.php | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/handlers/default.inc.php b/handlers/default.inc.php index 14e00c3..8bc8200 100644 --- a/handlers/default.inc.php +++ b/handlers/default.inc.php @@ -14,5 +14,5 @@ } } - $handlers['default'] = new default_handler; + $GLOBALS['handlers']['default'] = new default_handler; ?> 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; ?> |