Browse code

fix mistypo - commented script backup

Jimako authored on 2023/09/07 02:26:31
Showing 1 changed files
... ...
@@ -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
Browse code

changing UNIX_TIMESTAMP and NOW()

Jimako authored on 2023/09/06 03:29:21
Showing 1 changed files
... ...
@@ -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
Browse code

update files

Jimako authored on 2023/09/05 17:13:34
Showing 1 changed files
... ...
@@ -1,4 +1,3 @@
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";
6 5
\ No newline at end of file
Browse code

Start Point - version 3.5.5 + fixes

Jimako authored on 2023/09/05 17:01:08
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+<?php
2
+if(!defined("_CHARSET")) exit( );
3
+$version = "3.5.5";
4
+?>
0 5
\ No newline at end of file