|
From: <Yau...@us...> - 2007-09-02 03:19:14
|
Revision: 40
http://thevr.svn.sourceforge.net/thevr/?rev=40&view=rev
Author: Yautja_cetanu
Date: 2007-09-01 20:19:17 -0700 (Sat, 01 Sep 2007)
Log Message:
-----------
Removed temporary code related to thevr in common.php and added a comment for temporary code in function_admin.php
Modified Paths:
--------------
mods/pms/trunk/common.php
mods/pms/trunk/includes/functions_admin.php
Modified: mods/pms/trunk/common.php
===================================================================
--- mods/pms/trunk/common.php 2007-09-02 03:04:03 UTC (rev 39)
+++ mods/pms/trunk/common.php 2007-09-02 03:19:17 UTC (rev 40)
@@ -263,19 +263,4 @@
}
/***** END *****/
-/* Temporary addition until cookies are sorted:
- if (strpos($domain, 'thevr.co.uk') == false AND $domain != 'thevr.co.uk')
- {
- $sql = 'SELECT su.domain
- FROM ' . SITE_URL_TABLE . " AS su
- WHERE su.site_id = '" . $config['site_id'] . "'
- AND su.domain LIKE '%thevr.co.uk'
- LIMIT 1";
- $result = $db->sql_query($sql);
- $row = $db->sql_fetchrow($result);
-
- header('Location: http://' . $row['domain'] . $_SERVER['REQUEST_URI']);
- }
-*/
-
?>
\ No newline at end of file
Modified: mods/pms/trunk/includes/functions_admin.php
===================================================================
--- mods/pms/trunk/includes/functions_admin.php 2007-09-02 03:04:03 UTC (rev 39)
+++ mods/pms/trunk/includes/functions_admin.php 2007-09-02 03:19:17 UTC (rev 40)
@@ -112,7 +112,7 @@
$sql = 'SELECT forum_id, forum_name, parent_id, forum_type, left_id, right_id
FROM ' . FORUMS_TABLE . '
ORDER BY left_id ASC';
- $result = $db->sql_query($sql, 0);
+ $result = $db->sql_query($sql, 0); //THEVR Temporary fix for parent bug before next version
$right = 0;
$padding_store = array('0' => '');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|