[geeklog-cvs] Geeklog-1.x/public_html/links index.php,1.24,1.25

Dirk Haun dhaun at qs1489.pair.com
Sat Dec 29 11:14:05 EST 2007


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/links
In directory qs1489.pair.com:/tmp/cvs-serv43358/public_html/links

Modified Files:
	index.php 
Log Message:
Undefined variable $root


Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/links/index.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** index.php	25 Nov 2007 06:58:56 -0000	1.24
--- index.php	29 Dec 2007 16:14:03 -0000	1.25
***************
*** 43,47 ****
   * @version 1.0
   * @since GL 1.4.0
!  * @copyright Copyright © 2005-2006
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @author Tony Bibbs <tony AT tonybibbs DOT com>
--- 43,47 ----
   * @version 1.0
   * @since GL 1.4.0
!  * @copyright Copyright © 2005-2007
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @author Tony Bibbs <tony AT tonybibbs DOT com>
***************
*** 55,59 ****
  // $Id$
  
! require_once ('../lib-common.php');
  
  /**
--- 55,59 ----
  // $Id$
  
! require_once '../lib-common.php';
  
  /**
***************
*** 100,104 ****
      
      // Check has access to this category
!     if ($cid <> $root) {
          $result = DB_query("SELECT owner_id,group_id,perm_owner,perm_group,perm_members,perm_anon FROM {$_TABLES['linkcategories']} WHERE cid='{$cid}'");
          $A = DB_fetchArray($result);
--- 100,104 ----
      
      // Check has access to this category
!     if ($cid != $_LI_CONF['root']) {
          $result = DB_query("SELECT owner_id,group_id,perm_owner,perm_group,perm_members,perm_anon FROM {$_TABLES['linkcategories']} WHERE cid='{$cid}'");
          $A = DB_fetchArray($result);




More information about the geeklog-cvs mailing list