[Fusionforge-commits] r7580 - in branches/Branch_4_8/gforge/plugins/wiki: db www

Olivier Meunier musicoliv at libremir.placard.fr.eu.org
Tue May 5 10:57:25 CEST 2009


Author: musicoliv
Date: 2009-05-05 10:57:25 +0200 (Tue, 05 May 2009)
New Revision: 7580

Modified:
   branches/Branch_4_8/gforge/plugins/wiki/db/wiki-init.sql
   branches/Branch_4_8/gforge/plugins/wiki/www/wikiconfig.php
Log:
Use bytea for cached html in phpwiki

Modified: branches/Branch_4_8/gforge/plugins/wiki/db/wiki-init.sql
===================================================================
--- branches/Branch_4_8/gforge/plugins/wiki/db/wiki-init.sql	2009-05-04 20:34:42 UTC (rev 7579)
+++ branches/Branch_4_8/gforge/plugins/wiki/db/wiki-init.sql	2009-05-05 08:57:25 UTC (rev 7580)
@@ -21,7 +21,7 @@
     pagename character varying(100) NOT NULL,
     hits integer DEFAULT 0 NOT NULL,
     pagedata text DEFAULT ''::text NOT NULL,
-    cached_html text DEFAULT ''::text,
+    cached_html bytea DEFAULT ''::bytea,
     CONSTRAINT plugin_wiki_page_pagename_check CHECK (((pagename)::text <> ''::text))
 );
 -- ALTER TABLE public.plugin_wiki_page OWNER TO gforge;

Modified: branches/Branch_4_8/gforge/plugins/wiki/www/wikiconfig.php
===================================================================
--- branches/Branch_4_8/gforge/plugins/wiki/www/wikiconfig.php	2009-05-04 20:34:42 UTC (rev 7579)
+++ branches/Branch_4_8/gforge/plugins/wiki/www/wikiconfig.php	2009-05-05 08:57:25 UTC (rev 7580)
@@ -43,6 +43,7 @@
  */
 
 define('GFORGE', true);
+define('USE_BYTEA', true);
 
 define('PATH_INFO_PREFIX', '/'.$group_name . '/');
 define('USE_PATH_INFO', true);




More information about the Fusionforge-commits mailing list