diff --git a/classes/install.class.php b/classes/install.class.php index 73a7a5e..3bd713a 100644 --- a/classes/install.class.php +++ b/classes/install.class.php @@ -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 ('shorten_links', '0');"; $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){ if(!$db->ejecutarConsulta($query)){ diff --git a/install.php b/install.php index ec54b79..041962b 100644 --- a/install.php +++ b/install.php @@ -136,6 +136,7 @@ $install->check_form(); + diff --git a/notice.txt b/notice.txt index 86ba2ec..650180c 100644 --- a/notice.txt +++ b/notice.txt @@ -11,6 +11,10 @@ Juan del Rio [ http://elcaminante.net/ ] = 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. += 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 = Copyright 2007 Brian Kirchoff, http://nicedit.com/ NicEdit available under MIT license. diff --git a/readme.txt b/readme.txt index a8cdb98..bbe2aba 100644 --- a/readme.txt +++ b/readme.txt @@ -10,12 +10,12 @@ 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. 2) Create a backup of your config.php file. -3) Replace all the old files with those from the new 0.95. -4) Rename the config-sample.php file to config.php. +3) Replace all the old files with those from the new 1.0. +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). 4) Execute the update.php file. 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. -==== How to update to v0.95 from v0.95 RC1 version ===== - -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 ===== +==== Update files for version previous to v1.0 are available on the download section ===== ==== How to install gelato CMS (Manually) ===== diff --git a/update.php b/update.php index 8632f99..45db8eb 100644 --- a/update.php +++ b/update.php @@ -26,39 +26,12 @@ if (!file_exists($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');"; $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 "
Finished!
"; -echo "Now you are running on the new gelato cioccolato version!!!
"; +echo "Now you are running on the new gelato vaniglia version!!!
"; +echo ""; ?>