/updates/DM-075-076-Update.php
PHP | 27 lines | 6 code | 9 blank | 12 comment | 0 complexity | 82351ab1f16b1974c7881a28c15c8e6d MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause
- <?php
-
- defined( '_INDM' ) or die( 'POSSIBLE HACK ATTEMPT!' );
-
- //===========================================================================
-
- $new_version = '0.7.6 (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
-
- ?>