[Phpbbkb-checkins] SF.net SVN: phpbbkb: [70] main/trunk
Status: Alpha
Brought to you by:
markthedaemon
|
From: <mar...@us...> - 2007-05-28 02:23:41
|
Revision: 70
http://svn.sourceforge.net/phpbbkb/?rev=70&view=rev
Author: markthedaemon
Date: 2007-05-27 19:23:40 -0700 (Sun, 27 May 2007)
Log Message:
-----------
Hello one and all. It's been a long time since I've had the chance to commit or even code on anything, however I've had some time spare so committing a couple of fixes for your enjoyment :D.
Modified Paths:
--------------
main/trunk/common.php
main/trunk/kb.php
Modified: main/trunk/common.php
===================================================================
--- main/trunk/common.php 2007-04-05 08:00:39 UTC (rev 69)
+++ main/trunk/common.php 2007-05-28 02:23:40 UTC (rev 70)
@@ -220,7 +220,8 @@
$board_config[$row['config_name']] = $row['config_value'];
}
-// Shamelessly stolen from above for the KB configuration :P.
+/*
+Commenting out this whole section for now until it's decided whether we actually need all of the kb_config entries globally...
$sql = "SELECT *
FROM " . KB_CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
@@ -231,7 +232,7 @@
while ( $row = $db->sql_fetchrow($result) )
{
$kb_config[$row['config_name']] = $row['config_value'];
-}
+} */
if (file_exists('install') || file_exists('contrib'))
{
Modified: main/trunk/kb.php
===================================================================
--- main/trunk/kb.php 2007-04-05 08:00:39 UTC (rev 69)
+++ main/trunk/kb.php 2007-05-28 02:23:40 UTC (rev 70)
@@ -58,7 +58,7 @@
$auth = kb_auth("cat", $cat_id, $userdata);
if(!$auth['auth_view'])
{
- message_die(GENERAL_MESSAGE, $lang['kb_noauth_viewcat'];
+ message_die(GENERAL_MESSAGE, $lang['kb_noauth_viewcat']);
}
// Store the main cat in a variable
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|