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™
Author Message
Blues
Regular
Regular


Joined: Jun 17, 2006
Posts: 81
Location: MD

PostPosted: Sun Sep 24, 2006 6:20 pm Reply with quote

I found the following and was wondering if it is still required if using 2.4
Only registered users can see links on this board! Get registered or login!

Also of note, if so then shouldn't

Code:
<?php 

if ($forum_admin == 1) {
   include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
   include("../../includes/sentinel.php");
} else {
   include("includes/sentinel.php");
}


read

Code:
<?php 

if ($forum_admin == 1) {
   include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
   include("../../includes/sentinel.php");
} else {
   include("includes/nukesentinel.php");
}


I tried adding this line, and eventually found the error and fixed it, but is it necessary, and what does it do?

v/r

Matt
 
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Sep 24, 2006 7:37 pm Reply with quote

Actually, they should all read nukesentinel, instead of sentinel. And logic in later patch versions uses a different approach that defines an include variable that precedes nukesentinel and eliminates the if statements. Look at the installation instructions for a recent NukeSentinel version for more details.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
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™

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 ©