[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.53,1.54
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Wed Aug 13 05:00:28 EDT 2003
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/layout/clean/admin/syndication feededitor.thtml,NONE,1.1 listfeeds.thtml,NONE,1.1 listitem.thtml,NONE,1.1 selecttype.thtml,NONE,1.1
- Next message (by thread): [geeklog-cvs] geeklog-1.3/sql/updates mysql_1.3.8_to_1.3.9.php,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install
In directory geeklog_prod:/tmp/cvs-serv946/public_html/admin/install
Modified Files:
install.php
Log Message:
Update for Content Syndication
Index: install.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install/install.php,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** install.php 11 Aug 2003 08:53:04 -0000 1.53
--- install.php 13 Aug 2003 09:00:26 -0000 1.54
***************
*** 47,51 ****
}
if (!defined ('VERSION')) {
! define('VERSION', '1.3.8');
}
--- 47,51 ----
}
if (!defined ('VERSION')) {
! define('VERSION', '1.3.9');
}
***************
*** 138,142 ****
$db_templates->set_var('upgrade',1);
// They already have a lib-database file...they can't change their tables names
! $old_versions = array('1.2.5-1','1.3','1.3.1','1.3.2','1.3.2-1','1.3.3','1.3.4','1.3.5','1.3.6','1.3.7');
$versiondd = '<tr><td align="right"><b>Current Geeklog Version:</b></td><td><select name="version">';
$cnt = count ($old_versions);
--- 138,142 ----
$db_templates->set_var('upgrade',1);
// They already have a lib-database file...they can't change their tables names
! $old_versions = array('1.2.5-1','1.3','1.3.1','1.3.2','1.3.2-1','1.3.3','1.3.4','1.3.5','1.3.6','1.3.7','1.3.8');
$versiondd = '<tr><td align="right"><b>Current Geeklog Version:</b></td><td><select name="version">';
$cnt = count ($old_versions);
***************
*** 479,482 ****
--- 479,496 ----
$current_gl_version = '1.3.8';
+ $_SQL = '';
+ break;
+ case '1.3.8':
+ require_once($_CONF['path'] . 'sql/updates/' . $_DB_dbms . '_1.3.8_to_1.3.9.php');
+ for ($i = 1; $i <= count($_SQL); $i++) {
+ DB_query(current($_SQL));
+ next($_SQL);
+ }
+
+ $pos = strrpos ($_CONF['rdf_file'], '/');
+ $filename = substr ($_CONF['rdf_file'], $pos + 1);
+ DB_query ("INSERT INTO {$_TABLES['syndication']} (title, description, limits, content_length, filename, charset, language, is_enabled, updated, update_info) VALUES ('{$_CONF['site_name']}', '{$_CONF['site_slogan']}', '{$_CONF['rdf_limit']}', {$_CONF['rdf_storytext']}, '{$filename}', '{$_CONF['default_charset']}', '{$_CONF['rdf_language']}', {$_CONF['backend']}, '0000-00-00 00:00:00', NULL)");
+
+ $current_gl_version = '1.3.9';
$_SQL = '';
break;
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/public_html/layout/clean/admin/syndication feededitor.thtml,NONE,1.1 listfeeds.thtml,NONE,1.1 listitem.thtml,NONE,1.1 selecttype.thtml,NONE,1.1
- Next message (by thread): [geeklog-cvs] geeklog-1.3/sql/updates mysql_1.3.8_to_1.3.9.php,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list