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