From 807d17a4bedae6d2ebc2eda3236fe1740422b3ba Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 03 Mar 2008 16:32:15 -0500
Subject: [PATCH] Make rcube_install class PHP4 compatible + add warning for MDB2 on PHP4 + set MDB2 as default
---
installer/rcube_install.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 79d003c..8caa79d 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -103,7 +103,7 @@
$value = $this->is_post && (isset($_POST["_$name"]) || $this->config_props[$name]) ? $_POST["_$name"] : $this->config[$name];
if ($name == 'des_key' && !isset($_REQUEST["_$name"]))
- $value = self::random_key(24);
+ $value = rcube_install::random_key(24);
return $value !== null && $value !== '' ? $value : $default;
}
@@ -143,7 +143,7 @@
$value = '';
}
else if ($prop == 'default_host' && is_array($value)) {
- $value = self::_clean_array($value);
+ $value = rcube_install::_clean_array($value);
if (count($value) <= 1)
$value = $value[0];
}
--
Gitblit v1.9.1