From 265d57e83026e190fb1936ffd54702ac2101f5ab Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 10 Apr 2010 19:52:40 +0000 Subject: Bug 1567 fixed : problem with old version of mysql required version is now 5.0.0 move required version to functions database specific file like others engines git-svn-id: http://piwigo.org/svn/trunk@5782 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/constants.php | 1 - include/dblayer/functions_mysql.inc.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/constants.php b/include/constants.php index eb4611f32..db55673b4 100644 --- a/include/constants.php +++ b/include/constants.php @@ -30,7 +30,6 @@ define('PHPWG_THEMES_PATH', $conf['themes_dir'].'/'); // Required versions define('REQUIRED_PHP_VERSION', '5.0.0'); -define('REQUIRED_MYSQL_VERSION', '4.1.22'); // Access codes define('ACCESS_FREE', 0); diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index c21c697ae..437d603bd 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -22,6 +22,7 @@ // +-----------------------------------------------------------------------+ define('DB_ENGINE', 'MySQL'); +define('REQUIRED_MYSQL_VERSION', '5.0.0'); define('DB_REGEX_OPERATOR', 'REGEXP'); define('DB_RANDOM_FUNCTION', 'RAND'); -- cgit v1.2.3