/updates/DM-074-075-Update.php
PHP | 27 lines | 6 code | 9 blank | 12 comment | 0 complexity | f3585c7f7075e78d58864eef01b043e7 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause
- <?php
-
- defined( '_INDM' ) or die( 'POSSIBLE HACK ATTEMPT!' );
-
- //===========================================================================
-
- $new_version = '0.7.5 (DMCMS RC1)';
-
- /*===========================================================================
- //>update version number
- ===========================================================================*/
- mysql_query("UPDATE `" . $db_table_prefix . "admin` SET `version` = '$new_version' WHERE `id` = 0") OR DIE ("<b>A fatal MySQL error occured</b>.\n<br />Query: " . $sql_query . "<br />\nError: (" . mysql_errno() . ") " . mysql_error());
- echo $version . ' -> ' . $new_version . ' Update<br><br>';
-
-
- /*===========================================================================
- //>update control tables in database
- ===========================================================================*/
- //No changes
-
-
- /*===========================================================================
- //>update non control (content) tables in database
- ===========================================================================*/
- //No changes
-
- ?>