Update of /cvsroot/phpmp/phpMP
In directory usw-pr-cvs1:/tmp/cvs-serv20908
Modified Files:
index.php modules.php
Log Message:
Changed license; added double-include security.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** index.php 10 Apr 2002 21:22:02 -0000 1.14
--- index.php 23 Apr 2002 08:14:54 -0000 1.15
***************
*** 23,27 ****
*******************************************************************************
! This software is provided under the BSD software license. A copy of the
license should have been included with this software, located in the Docs
folder. Feel free to redistribute and/or modify it according to the
--- 23,27 ----
*******************************************************************************
! This software is provided under the GPL software license. A copy of the
license should have been included with this software, located in the Docs
folder. Feel free to redistribute and/or modify it according to the
Index: modules.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** modules.php 11 Apr 2002 06:02:37 -0000 1.5
--- modules.php 23 Apr 2002 08:14:54 -0000 1.6
***************
*** 23,27 ****
*******************************************************************************
! This software is provided under the BSD software license. A copy of the
license should have been included with this software, located in the Docs
folder. Feel free to redistribute and/or modify it according to the
--- 23,27 ----
*******************************************************************************
! This software is provided under the GPL software license. A copy of the
license should have been included with this software, located in the Docs
folder. Feel free to redistribute and/or modify it according to the
***************
*** 71,77 ****
function DoCheck() {
! if(($this->_inactive == 1) || ($this->_exists != 1)) {
return 0;
} else {
return 1;
}
--- 71,78 ----
function DoCheck() {
! if(($this->_inactive == 1) || ($this->_exists != 1) || defined('PHPMP_MOD_' . $mod_id)) {
return 0;
} else {
+ define('PHPMP_MOD_' . $mod_id, true);
return 1;
}
|