From 092d7988baa7f467281133f832b7c692d4968311 Mon Sep 17 00:00:00 2001 From: ovclas Date: Wed, 29 Feb 2012 03:00:24 +0000 Subject: [PATCH] php5 syntax change to php4 git-svn-id: http://xe-core.googlecode.com/svn/trunk@10262 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/config.inc.php | 2 +- modules/document/document.item.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.inc.php b/config/config.inc.php index 7157677cd..f21536182 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -13,7 +13,7 @@ * @brief display XE's full version * Even The file should be revised when releasing altough no change is made **/ - define('__XE_VERSION__', '1.5.1.9'); + define('__XE_VERSION__', '1.5.1.10'); define('__ZBXE_VERSION__', __XE_VERSION__); // deprecated : __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead. /** diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 7767fbbf8..8332328d7 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -288,7 +288,7 @@ if($m[1] == 'param') { - if(stripos($m[0], 'allowscriptaccess')) + if(strpos(strtolower($m[0]), 'allowscriptaccess')) { $m[0] = '