Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
Eduardo
Worker
Worker



Joined: Jul 20, 2004
Posts: 189
Location: Italy

PostPosted: Fri May 26, 2006 4:42 am Reply with quote

I see that in RavenNuke76_v2.02.02 pach in the blocks directory the initial pach of the file

block-Modules.php

is:

if (eregi("block-Modules.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}


but in the original pach there is the following code:

if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}


which is the correct solution?

Thanks in advance.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri May 26, 2006 5:13 am Reply with quote

Either one works but it should be reading
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}


Somehow the old code got replaced. Thanks for the head's up!
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

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 ©