| ... | ... |
@@ -1,4 +1,19 @@ |
| 1 | 1 |
<?php |
| 2 | 2 |
if(!defined("_CHARSET")) exit( );
|
| 3 |
-$version = "3.5.5"; |
|
| 4 |
-?> |
|
| 5 | 3 |
\ No newline at end of file |
| 4 |
+$version = "3.5.6"; |
|
| 5 |
+ |
|
| 6 |
+/* shortcut |
|
| 7 |
+$tmp = dbassoc(dbquery("SHOW COLUMNS FROM " . TABLEPREFIX . "fanfiction_stories LIKE 'date'"));
|
|
| 8 |
+if($tmp['Type'] == "datetime") {
|
|
| 9 |
+ dbquery("UPDATE " . TABLEPREFIX . "fanfiction_settings SET version = '3.5.5' WHERE sitekey = '" . SITEKEY . "'");
|
|
| 10 |
+} |
|
| 11 |
+ |
|
| 12 |
+ |
|
| 13 |
+$tmp = dbassoc(dbquery("SHOW COLUMNS FROM " . TABLEPREFIX . "fanfiction_news LIKE 'time'"));
|
|
| 14 |
+ |
|
| 15 |
+if ($tmp['Type'] == "datetime") |
|
| 16 |
+{
|
|
| 17 |
+ dbquery("UPDATE " . TABLEPREFIX . "fanfiction_settings SET version = '3.5.5' WHERE sitekey = '" . SITEKEY . "'");
|
|
| 18 |
+} |
|
| 19 |
+ |
|
| 20 |
+*/ |
|
| 6 | 21 |
\ No newline at end of file |