Changeset 6090 for trunk/include/dblayer/functions_pgsql.inc.php
- Timestamp:
- May 7, 2010, 2:34:56 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_pgsql.inc.php
r5267 r6090 58 58 { 59 59 return $link; 60 } 61 } 62 63 function pwg_db_check_version() 64 { 65 $current_version = pwg_get_db_version(); 66 if (version_compare($current_version, REQUIRED_PGSQL_VERSION, '<')) 67 { 68 fatal_error( 69 sprintf( 70 'your database version is too old, you have "%s" and you need at least "%s"', 71 $current_version, 72 REQUIRED_PGSQL_VERSION 73 ) 74 ); 60 75 } 61 76 }
Note: See TracChangeset
for help on using the changeset viewer.