From: Bharat M. <bh...@us...> - 2002-01-18 22:57:57
|
Update of /cvsroot/gallery/gallery In directory usw-pr-cvs1:/tmp/cvs-serv31770 Modified Files: index.php Log Message: Fix for bug #505234. In PHP-Nuke 5.4 they changed the $op variable to $mop Index: index.php =================================================================== RCS file: /cvsroot/gallery/gallery/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- index.php 2001/11/22 09:56:56 1.12 +++ index.php 2002/01/18 22:57:52 1.13 @@ -32,11 +32,12 @@ global $GALLERY_EMBEDDED_INSIDE; global $GALLERY_MODULENAME; global $op; +global $mop; global $include; global $name; /* Detect PHP-Nuke and react accordingly */ -if (!strcmp($op, "modload")) { +if (!strcmp($op, "modload") || !strcmp($mop, "modload")) { /* * Change this variable if your Gallery module has a different |