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
parent
11022c204d
commit
071d50e367
|
|
@ -130,6 +130,7 @@ class Install {
|
||||||
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('offset_time', '".$this->data['offset_time']."');";
|
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('offset_time', '".$this->data['offset_time']."');";
|
||||||
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
||||||
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
|
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
|
||||||
|
$sqlStr[] = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
|
||||||
|
|
||||||
foreach($sqlStr as $key => $query){
|
foreach($sqlStr as $key => $query){
|
||||||
if(!$db->ejecutarConsulta($query)){
|
if(!$db->ejecutarConsulta($query)){
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@ $install->check_form();
|
||||||
<option value="-3.50,Canada/Newfoundland">(GMT -3:30) Newfoundland</option>
|
<option value="-3.50,Canada/Newfoundland">(GMT -3:30) Newfoundland</option>
|
||||||
<option value="-3,Canada/Atlantic">(GMT -3:00) Brasilia, Greenland</option>
|
<option value="-3,Canada/Atlantic">(GMT -3:00) Brasilia, Greenland</option>
|
||||||
<option value="-3,America/Buenos_Aires">(GMT -3:00) Buenos Aires, Georgetown</option>
|
<option value="-3,America/Buenos_Aires">(GMT -3:00) Buenos Aires, Georgetown</option>
|
||||||
|
<option value="-2,Atlantic/Central">(GMT -2:00) Atlantic Central</option>
|
||||||
<option value="-1,Atlantic/Cape_Verde">(GMT -1:00) Cape Verde Is.</option>
|
<option value="-1,Atlantic/Cape_Verde">(GMT -1:00) Cape Verde Is.</option>
|
||||||
<option value="-1,Atlantic/Azores">(GMT -1:00) Azores</option>
|
<option value="-1,Atlantic/Azores">(GMT -1:00) Azores</option>
|
||||||
<option value="0,Africa/Casablanca">(GMT) Casablanca, Monrovia</option>
|
<option value="0,Africa/Casablanca">(GMT) Casablanca, Monrovia</option>
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@ Juan del Rio [ http://elcaminante.net/ ]
|
||||||
= COPYRIGHT NOTICES =
|
= COPYRIGHT NOTICES =
|
||||||
This product includes code and libraries developed by third parties, which are governed by different licenses. These components, and their licenses, are listed below.
|
This product includes code and libraries developed by third parties, which are governed by different licenses. These components, and their licenses, are listed below.
|
||||||
|
|
||||||
|
= markItUp! Universal MarkUp Engine, JQuery plugin =
|
||||||
|
Copyright (C) 2007-2008 Jay Salvat, http://markitup.jaysalvat.com/
|
||||||
|
markItUp is available under a dual licensed the MIT and GPL licenses.
|
||||||
|
|
||||||
= NicEdit - Micro Inline WYSIWYG =
|
= NicEdit - Micro Inline WYSIWYG =
|
||||||
Copyright 2007 Brian Kirchoff, http://nicedit.com/
|
Copyright 2007 Brian Kirchoff, http://nicedit.com/
|
||||||
NicEdit available under MIT license.
|
NicEdit available under MIT license.
|
||||||
|
|
|
||||||
16
readme.txt
16
readme.txt
|
|
@ -10,12 +10,12 @@
|
||||||
|
|
||||||
That's it! gelato should now be installed.
|
That's it! gelato should now be installed.
|
||||||
|
|
||||||
==== How to update to v0.95 from v0.90 version =====
|
==== How to update to v1.0 from v0.95 version =====
|
||||||
|
|
||||||
1) Download and unzip the gelato package, if you haven't already.
|
1) Download and unzip the gelato package, if you haven't already.
|
||||||
2) Create a backup of your config.php file.
|
2) Create a backup of your config.php file.
|
||||||
3) Replace all the old files with those from the new 0.95.
|
3) Replace all the old files with those from the new 1.0.
|
||||||
4) Rename the config-sample.php file to config.php.
|
4) Rename the config-sample.php file to config.php (DO NOT use your old config.php file).
|
||||||
5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
|
5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
|
||||||
4) Execute the update.php file.
|
4) Execute the update.php file.
|
||||||
7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'.
|
7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'.
|
||||||
|
|
@ -23,15 +23,7 @@ That's it! gelato should now be installed.
|
||||||
|
|
||||||
That's it! gelato should now be updated.
|
That's it! gelato should now be updated.
|
||||||
|
|
||||||
==== How to update to v0.95 from v0.95 RC1 version =====
|
==== Update files for version previous to v1.0 are available on the download section =====
|
||||||
|
|
||||||
1) Download and unzip the gelato package, if you haven't already.
|
|
||||||
2) Replace all the old files with those from the new 0.95.
|
|
||||||
3) REMOVE the install.php and update.php files.
|
|
||||||
|
|
||||||
That's it! gelato should now be updated.
|
|
||||||
|
|
||||||
==== Update files for version previous to v0.90 are available on the download section =====
|
|
||||||
|
|
||||||
==== How to install gelato CMS (Manually) =====
|
==== How to install gelato CMS (Manually) =====
|
||||||
|
|
||||||
|
|
|
||||||
31
update.php
31
update.php
|
|
@ -26,39 +26,12 @@ if (!file_exists($configFile)) {
|
||||||
require_once($configFile);
|
require_once($configFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
|
||||||
|
|
||||||
$db->ejecutarConsulta($sqlStr);
|
|
||||||
|
|
||||||
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
|
|
||||||
|
|
||||||
$db->ejecutarConsulta($sqlStr);
|
|
||||||
|
|
||||||
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
|
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
|
||||||
|
|
||||||
$db->ejecutarConsulta($sqlStr);
|
$db->ejecutarConsulta($sqlStr);
|
||||||
|
|
||||||
$sqlStr = "CREATE TABLE `".Table_prefix."feeds` (
|
|
||||||
`id_feed` int(11) NOT NULL auto_increment,
|
|
||||||
`url` varchar(255) NOT NULL,
|
|
||||||
`title` varchar(255) NOT NULL,
|
|
||||||
`type` tinyint(4) NOT NULL default '1',
|
|
||||||
`updated_at` datetime NOT NULL,
|
|
||||||
`error` tinyint(1) NOT NULL default '0',
|
|
||||||
`credits` int(1) NOT NULL default '0',
|
|
||||||
`site_url` varchar(255) NOT NULL,
|
|
||||||
`id_user` int(10) NOT NULL,
|
|
||||||
PRIMARY KEY (`id_feed`)
|
|
||||||
) ENGINE=MyISAM ;";
|
|
||||||
|
|
||||||
$db->ejecutarConsulta($sqlStr);
|
|
||||||
|
|
||||||
if(!is_dir('upload/CACHE')){
|
|
||||||
@mkdir('upload/CACHE');
|
|
||||||
@chmod('upload/CACHE',777);
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "<p><em>Finished!</em></p>";
|
echo "<p><em>Finished!</em></p>";
|
||||||
echo "<p>Now you are running on the new <strong>gelato cioccolato</strong> version!!!</p>";
|
echo "<p>Now you are running on the new <strong>gelato vaniglia</strong> version!!!</p>";
|
||||||
|
echo "<p><a href="index.php">Return to your tumblelog</a></p>";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue