[Phpbbkb-checkins] SF.net SVN: phpbbkb: [59] main/trunk/install/kb_install.php
Status: Alpha
Brought to you by:
markthedaemon
|
From: <mar...@us...> - 2007-02-21 00:57:46
|
Revision: 59
http://svn.sourceforge.net/phpbbkb/?rev=59&view=rev
Author: markthedaemon
Date: 2007-02-20 16:57:43 -0800 (Tue, 20 Feb 2007)
Log Message:
-----------
Probably best if we give an initial category to start with, like phpBB does.
Modified Paths:
--------------
main/trunk/install/kb_install.php
Modified: main/trunk/install/kb_install.php
===================================================================
--- main/trunk/install/kb_install.php 2007-02-21 00:48:50 UTC (rev 58)
+++ main/trunk/install/kb_install.php 2007-02-21 00:57:43 UTC (rev 59)
@@ -95,6 +95,9 @@
KEY cat_id (cat_id)
)";
+$sql[] = "INSERT INTO " . $table_prefix . "kb_categories (cat_id, cat_main, cat_title, cat_desc, cat_articles, cat_order)
+ VALUES ('', '0', 'Example Category 1', 'Example description for category 1','0', '9999');";
+
echo '<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">';
echo '<tr><th>Updating the database</th></tr>';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|