[geeklog-devel] [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.14, 1.15

Joe Mucchiello joe at ThrowingDice.com
Sun Sep 30 09:52:34 EDT 2007


At 09:32 AM 9/30/2007, Dirk Haun wrote:
>*** 1451,1455 ****
>       {
>           global $_CONF;
>!         require_once($_CONF['path_system'] . 'lib-security.php');
>           return SEC_hasAccess($this->_owner_id, $this->_group_id, 
> $this->_perm_owner, $this->_perm_group,
>                                    $this->_perm_members, $this->_perm_anon);
>--- 1446,1452 ----
>       {
>           global $_CONF;
>!
>!         require_once $_CONF['path_system'] . 'lib-security.php';
>!
>           return SEC_hasAccess($this->_owner_id, $this->_group_id, 
> $this->_perm_owner, $this->_perm_group,
>                                    $this->_perm_members, $this->_perm_anon);
>***************

Wouldn't the better modification be to remove the require_once 
entirely? lib-security.php is included by lib-common.php. It comes 
directly after lib-database.php


----
Joe Mucchiello
Throwing Dice Games
http://www.throwingdice.com 




More information about the geeklog-devel mailing list