/updates/DM-064-065-Update.php
PHP | 27 lines | 6 code | 9 blank | 12 comment | 1 complexity | aca40f065831122339331edc3d303d0e MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause
- <?php
-
- if (!isset($INDM)) {echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><meta name="Content-Language" content="en"><meta name="description" content="DMCMS"><meta name="author" content="Mick Percy"><meta name="copyright" content="Copyright 2007 DeeEmm"><title>DMCMS</title></HEAD><body><br><br><br><br><br><br><br><br><center><img src="http://www.deeemm.com/images/logo.png" alt="DMCMS"><br><a href="http://www.deeemm.com"><span style="font-weight:bold">http://www.deeemm.com</span></a></center></body></html>'; exit;}
-
- //===========================================================================
-
- $new_version = '0.6.5 (BETA)';
-
- /*===========================================================================
- //>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
-
- ?>