minor style change, add index_sidebar_blocks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@100 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
5a98ec2f88
commit
8e4d0718e2
1 changed files with 22 additions and 24 deletions
26
upgrade.txt
26
upgrade.txt
|
@ -1,15 +1,11 @@
|
||||||
|
==== UPGRADE instructions ====
|
||||||
|
|
||||||
|
=== From version 0.88 to 0.89 ===
|
||||||
|
- Backup you database
|
||||||
|
- Make a copy from your SemanticScuttle Web directory
|
||||||
|
- Upgrade your database : add the following table (adapt its name prefix to your convenience) executin the following SQL commands:
|
||||||
|
|
||||||
======================================================================
|
CREATE TABLE `sc_searchhistory` (
|
||||||
=== From SemanticScuttle 0.88 to 0.89
|
|
||||||
======================================================================
|
|
||||||
|
|
||||||
==== Backup
|
|
||||||
Backup your database. Make a copy from your SemanticScuttle directory.
|
|
||||||
|
|
||||||
==== In your database, add the following table (modify the table name if necessary):
|
|
||||||
|
|
||||||
CREATE TABLE `sc_searchhistory` (
|
|
||||||
`shId` int(11) NOT NULL auto_increment,
|
`shId` int(11) NOT NULL auto_increment,
|
||||||
`shTerms` varchar(255) NOT NULL default '',
|
`shTerms` varchar(255) NOT NULL default '',
|
||||||
`shRange` varchar(32) NOT NULL default '',
|
`shRange` varchar(32) NOT NULL default '',
|
||||||
|
@ -17,10 +13,12 @@ CREATE TABLE `sc_searchhistory` (
|
||||||
`shNbResults` int(6) NOT NULL default '0',
|
`shNbResults` int(6) NOT NULL default '0',
|
||||||
`uId` int(11) NOT NULL default '0',
|
`uId` int(11) NOT NULL default '0',
|
||||||
PRIMARY KEY (`shId`)
|
PRIMARY KEY (`shId`)
|
||||||
);
|
);
|
||||||
|
|
||||||
=== In your configuration file (config.inc.php), add manually at the end of the file (for help, compare with last version of config.inc.php.example)
|
- Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
|
||||||
|
- add line:
|
||||||
$sizeSearchHistory = 10;
|
$sizeSearchHistory = 10;
|
||||||
|
- add sidebar block index line:
|
||||||
|
$index_sidebar_blocks = array('search','users','linked','recent');
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue