Browse Source

Updated the documentation, added the new option panel item to install.class.php, added the GTM-2 option to install.php and removed v0.95 code from update.php

pecesama 16 years ago
parent
commit
071d50e367
5 changed files with 12 additions and 41 deletions
  1. 1 0
      classes/install.class.php
  2. 1 0
      install.php
  3. 4 0
      notice.txt
  4. 4 12
      readme.txt
  5. 2 29
      update.php

+ 1 - 0
classes/install.class.php View File

130
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('offset_time', '".$this->data['offset_time']."');";
130
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('offset_time', '".$this->data['offset_time']."');";
131
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
131
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
132
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
132
 		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
133
+		$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
133
 
134
 
134
 		foreach($sqlStr as $key => $query){
135
 		foreach($sqlStr as $key => $query){
135
 			if(!$db->ejecutarConsulta($query)){
136
 			if(!$db->ejecutarConsulta($query)){

+ 1 - 0
install.php View File

136
 								<option value="-3.50,Canada/Newfoundland">(GMT -3:30) Newfoundland</option>
136
 								<option value="-3.50,Canada/Newfoundland">(GMT -3:30) Newfoundland</option>
137
 								<option value="-3,Canada/Atlantic">(GMT -3:00) Brasilia, Greenland</option>
137
 								<option value="-3,Canada/Atlantic">(GMT -3:00) Brasilia, Greenland</option>
138
 								<option value="-3,America/Buenos_Aires">(GMT -3:00) Buenos Aires, Georgetown</option>
138
 								<option value="-3,America/Buenos_Aires">(GMT -3:00) Buenos Aires, Georgetown</option>
139
+								<option value="-2,Atlantic/Central">(GMT -2:00) Atlantic Central</option>
139
 								<option value="-1,Atlantic/Cape_Verde">(GMT -1:00) Cape Verde Is.</option>
140
 								<option value="-1,Atlantic/Cape_Verde">(GMT -1:00) Cape Verde Is.</option>
140
 								<option value="-1,Atlantic/Azores">(GMT -1:00) Azores</option>
141
 								<option value="-1,Atlantic/Azores">(GMT -1:00) Azores</option>
141
 								<option value="0,Africa/Casablanca">(GMT) Casablanca, Monrovia</option>
142
 								<option value="0,Africa/Casablanca">(GMT) Casablanca, Monrovia</option>

+ 4 - 0
notice.txt View File

11
 = COPYRIGHT NOTICES =
11
 = COPYRIGHT NOTICES =
12
 This product includes code and libraries developed by third parties, which are governed by different licenses.  These components, and their licenses, are listed below.
12
 This product includes code and libraries developed by third parties, which are governed by different licenses.  These components, and their licenses, are listed below.
13
 
13
 
14
+= markItUp! Universal MarkUp Engine, JQuery plugin =
15
+Copyright (C) 2007-2008 Jay Salvat, http://markitup.jaysalvat.com/
16
+markItUp is available under a dual licensed the MIT and GPL licenses.
17
+
14
 = NicEdit - Micro Inline WYSIWYG =
18
 = NicEdit - Micro Inline WYSIWYG =
15
 Copyright 2007 Brian Kirchoff, http://nicedit.com/
19
 Copyright 2007 Brian Kirchoff, http://nicedit.com/
16
 NicEdit available under MIT license.
20
 NicEdit available under MIT license.

+ 4 - 12
readme.txt View File

10
 
10
 
11
 That's it! gelato should now be installed.
11
 That's it! gelato should now be installed.
12
 
12
 
13
-==== How to update to v0.95 from v0.90 version =====
13
+==== How to update to v1.0 from v0.95 version =====
14
 
14
 
15
 1) Download and unzip the gelato package, if you haven't already.
15
 1) Download and unzip the gelato package, if you haven't already.
16
 2) Create a backup of your config.php file.
16
 2) Create a backup of your config.php file.
17
-3) Replace all the old files with those from the new 0.95.
18
-4) Rename the config-sample.php file to config.php.
17
+3) Replace all the old files with those from the new 1.0.
18
+4) Rename the config-sample.php file to config.php (DO NOT use your old config.php file).
19
 5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
19
 5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
20
 4) Execute the update.php file.
20
 4) Execute the update.php file.
21
 7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'  and the folder 'uploads/CACHE'.
21
 7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'  and the folder 'uploads/CACHE'.
23
 
23
 
24
 That's it! gelato should now be updated.
24
 That's it! gelato should now be updated.
25
 
25
 
26
-==== How to update to v0.95 from v0.95 RC1 version =====
27
-
28
-1) Download and unzip the gelato package, if you haven't already.
29
-2) Replace all the old files with those from the new 0.95.
30
-3) REMOVE the install.php and update.php files.
31
-
32
-That's it! gelato should now be updated.
33
-
34
-==== Update files for version previous to v0.90 are available on the download section =====
26
+==== Update files for version previous to v1.0 are available on the download section =====
35
 
27
 
36
 ==== How to install gelato CMS (Manually) =====
28
 ==== How to install gelato CMS (Manually) =====
37
 
29
 

+ 2 - 29
update.php View File

26
 	require_once($configFile);
26
 	require_once($configFile);
27
 }
27
 }
28
 
28
 
29
-$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
30
-
31
-$db->ejecutarConsulta($sqlStr);
32
-
33
-$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
34
-
35
-$db->ejecutarConsulta($sqlStr);
36
-
37
 $sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
29
 $sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
38
 
30
 
39
 $db->ejecutarConsulta($sqlStr);
31
 $db->ejecutarConsulta($sqlStr);
40
 
32
 
41
-$sqlStr = "CREATE TABLE `".Table_prefix."feeds` (
42
-  `id_feed` int(11) NOT NULL auto_increment,
43
-  `url` varchar(255) NOT NULL,
44
-  `title` varchar(255) NOT NULL,
45
-  `type` tinyint(4) NOT NULL default '1',
46
-  `updated_at` datetime NOT NULL,
47
-  `error` tinyint(1) NOT NULL default '0',
48
-  `credits` int(1) NOT NULL default '0',
49
-  `site_url` varchar(255) NOT NULL,
50
-  `id_user` int(10) NOT NULL,
51
-  PRIMARY KEY  (`id_feed`)
52
-) ENGINE=MyISAM ;";
53
-
54
-$db->ejecutarConsulta($sqlStr);
55
-
56
-if(!is_dir('upload/CACHE')){
57
-	@mkdir('upload/CACHE');
58
-	@chmod('upload/CACHE',777);
59
-}
60
-
61
 echo "<p><em>Finished!</em></p>";
33
 echo "<p><em>Finished!</em></p>";
62
-echo "<p>Now you are running on the new <strong>gelato cioccolato</strong> version!!!</p>";
34
+echo "<p>Now you are running on the new <strong>gelato vaniglia</strong> version!!!</p>";
35
+echo "<p><a href="index.php">Return to your tumblelog</a></p>";
63
 
36
 
64
 ?>
37
 ?>