From cb2bc809ef29f349d38c89e202d821e67bb4c947 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 21 Sep 2010 14:47:55 -0400 Subject: [PATCH] Fix db_mode check in insert_id() --- program/include/iniset.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/program/include/iniset.php b/program/include/iniset.php index 2a30e51..a4f87e9 100755 --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -45,7 +45,9 @@ define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/'); } -define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); +if (!defined('RCMAIL_CONFIG_DIR')) { + define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); +} // make sure path_separator is defined if (!defined('PATH_SEPARATOR')) { -- Gitblit v1.9.1