summaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 13:24:43 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 13:24:43 +0000
commitf42663a6a4e79b3cb6fee7fa453bbd4f54d78c44 (patch)
tree3fd02e23a1d4a9719823cdfed219b566512a2b1f /frontends
parente5c765ac713664bdae99dac1c975f4a8b7999c32 (diff)
downloadzabbix-f42663a6a4e79b3cb6fee7fa453bbd4f54d78c44.tar.gz
zabbix-f42663a6a4e79b3cb6fee7fa453bbd4f54d78c44.tar.xz
zabbix-f42663a6a4e79b3cb6fee7fa453bbd4f54d78c44.zip
Misc fixes.
git-svn-id: svn://svn.zabbix.com/trunk@3487 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends')
-rw-r--r--frontends/php/include/copt.lib.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/copt.lib.php b/frontends/php/include/copt.lib.php
index 5e68c377..8ab70aae 100644
--- a/frontends/php/include/copt.lib.php
+++ b/frontends/php/include/copt.lib.php
@@ -333,6 +333,7 @@ else
{
if(version_compare(phpversion(),'5.0','<'))
{
+ eval('
class COpt
{
/* public static */ function profiling_start($type=NULL) {}
@@ -341,10 +342,12 @@ else
/* public static */ function showmemoryusage($descr=null) {}
/* public static */ function compare_files_with_menu($menu=null) {}
/* public static */ function counter_up($type=NULL) {}
- }
+ }'
+ );
}
else
{
+ eval('
class COpt
{
static function profiling_start($type=NULL) {}
@@ -353,7 +356,8 @@ else
static function showmemoryusage($descr=null) {}
static function compare_files_with_menu($menu=null) {}
static function counter_up($type=NULL) {}
- }
+ }'
+ );
}
}