Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x
Author Message
neralex
The Mouse Is Extension Of Arm


Joined: Aug 22, 2007
Posts: 1328
Location: Germany

PostPosted: Sat Aug 04, 2012 5:22 am Reply with quote

If i'm not god and i try to use the link for the auth scan, then i get an blank page. I think here is an else missed.

Code:
   CloseTable();

   include 'footer.php';
}


i have replaced with:

Code:
   CloseTable();

   include 'footer.php';
} else {
  header("Location: ".$admin_file.".php?op=ABMain");
}


In RN24 i can't see the auth menue, only as god i can see and use it. But i think with the header refresh is it okay, too. What me makes a little bit confused is, the link to DBMAINTENANCE i can not use as non god but auth menue have an link an i come into menue. In the nukesentinel.php is an function called "is_god". But why makes the function an difference in same default menue? Has "is_god" a bug?

I have try it to set this:

Wink
Code:
  if(is_god()) {

    echo '<td><a href="'.$admin_file.'.php?op=ABDBMaintenance">'._AB_DBMAINTENANCE.'</a></td></tr>'."\n";
  } else {
    echo '<td>'._AB_DBMAINTENANCE.'</td></tr>'."\n";
  }


after this:

Code:
  if(is_god()) {

    echo '<td><a href="'.$admin_file.'.php?op=ABAuth">'._AB_HTTPAUTHMENU.'</a></td></tr>'."\n";
  } else {
    echo '<td>'._AB_HTTPAUTHMENU.'</td></tr>'."\n";
  }


After this change has the HTTPAUTHMENU not a link and the DBMAINTENANCE got a link. Here must a be a bug inside the "is_god" function.

Wink
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Aug 08, 2012 12:17 am Reply with quote

Thanks! We will add this to our bug tracker and check it out!
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©