]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Bug fix: correct gsearch link to api
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 5 Jan 2009 16:16:21 +0000 (16:16 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 5 Jan 2009 16:16:21 +0000 (16:16 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@211 b3834d28-1941-0410-a4f8-b48e95affb8f

gsearch/index.php
upgrade.txt

index 07aceb8465e2d93defadaad5c6463799042f7a58..47839f40709c918f2deb05243b18cb12b4b8b962 100644 (file)
@@ -21,7 +21,7 @@ if($GLOBALS['enableGoogleCustomSearch']==false) {
 </form>
 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cref"></script>
 <!-- Google CSE Search Box Ends -->
-<small>Based on <a href="http://www.google.com/coop/cse/">Google Custom Search</a> over this <a href="../api/export_gcs.php">list of websites</a> from <?php echo $GLOBALS['sitename'] ?>.</small>
+<small>Based on <a href="http://www.google.com/coop/cse/">Google Custom Search</a> over this <a href="<?php echo ROOT ?>api/export_gcs.php">list of websites</a> from <?php echo $GLOBALS['sitename'] ?>.</small>
 <br />
 <br />
 <small><a href="<?php echo ROOT?>"><?php echo T_('Come back to ').$GLOBALS['sitename'] ?>...</a></small>
index 179b708c1ec15c1313cdee58c5bb33288047ffd5..b729503b5c55b752de7f658ec7b495d4b28e1a00 100644 (file)
@@ -5,7 +5,16 @@
 - Backup you database
 - Make a copy from your SemanticScuttle Web directory
 - Upgrade your database by following instructions ONE after ONE (order is important) :
-  * No intructions
+  *  ALTER TABLE `sc_bookmarks` CHANGE `bDescription` `bDescription` VARCHAR( 1500 )
+  * CREATE TABLE `sc_tagscache` (
+   `tcId` int(11) NOT NULL auto_increment,
+   `tag1` varchar(100) NOT NULL default '',
+   `tag2` varchar(100) NOT NULL default '',
+   `relationType` varchar(32) NOT NULL default '',
+   `uId` int(11) NOT NULL default '0',
+   PRIMARY KEY (`tcId`),
+   UNIQUE KEY `sc_tagscache_tag1_tag2_type_uId` (`tag1`,`tag2`,`relationType`,`uId`)
+);
 - Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
   * Delete last line : include_once('debug.inc.php');
   * Add variable: $menu2Tags = array('example', 'of', 'menu', 'tags');