diff options
author | nikrou <nikrou@piwigo.org> | 2010-04-10 19:52:40 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-04-10 19:52:40 +0000 |
commit | 265d57e83026e190fb1936ffd54702ac2101f5ab (patch) | |
tree | 2041e9db1deb3961551eba6dc7e290cde8006bd9 | |
parent | 8ed51d84970bd1ce44a093d0ae5801a7c656b821 (diff) |
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
-rw-r--r-- | include/constants.php | 1 | ||||
-rw-r--r-- | include/dblayer/functions_mysql.inc.php | 1 |
2 files changed, 1 insertions, 1 deletions
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'); |