mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Fixed 'membersonly' redirection issue with e_jslib.php
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
| $Revision: 1.68 $
|
||||
| $Date: 2008-11-13 20:41:20 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.69 $
|
||||
| $Date: 2008-11-16 09:17:13 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
//
|
||||
@@ -742,7 +742,7 @@ if ($pref['membersonly_enabled'] && !USER && e_SELF != SITEURL.e_SIGNUP && e_SEL
|
||||
{
|
||||
if(!isset($_E107['allow_guest']))
|
||||
{
|
||||
if($_POST['ajax_used'] || $_GET['ajax_used'] || e_PAGE == "e_ajax.php" || e_PAGE == "e_js.php")
|
||||
if($_POST['ajax_used'] || $_GET['ajax_used'] || e_PAGE == "e_ajax.php" || e_PAGE == "e_js.php" || e_PAGE == "e_jslib.php")
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user