diff --git a/admin/index.php b/admin/index.php index fffeff0..4690bda 100644 --- a/admin/index.php +++ b/admin/index.php @@ -165,12 +165,13 @@ if ($user->isAuthenticated()) {
".__("A new gelato version has been released and is ready for download.")."
diff --git a/classes/configuration.class.php b/classes/configuration.class.php index 41a2d84..6f1c256 100644 --- a/classes/configuration.class.php +++ b/classes/configuration.class.php @@ -30,6 +30,7 @@ class configuration extends Conexion_Mysql { var $offset_time; var $shorten_links; var $rssImportFrec; + var $check_version; function configuration() { parent::Conexion_Mysql(DB_name, DB_Server, DB_User, DB_Password); @@ -55,6 +56,7 @@ class configuration extends Conexion_Mysql { $this->allowComments = $this->get_option("allow_comments"); $this->shorten_links = $this->get_option("shorten_links"); $this->rssImportFrec = $this->get_option("rss_import_frec"); + $this->check_version = $this->get_option("check_version"); } else { if($isFeed) { diff --git a/update.php b/update.php index 79c7299..b312b07 100644 --- a/update.php +++ b/update.php @@ -34,6 +34,10 @@ $sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 m $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,