PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 7
~ Members: 0
~ Total: 7
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 21 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


This topic is locked: you cannot edit posts or make replies. Page 1 of 1
MultiHeadlines Admin: Access Denied
Message Author
Reply with quote
Post Posted: Tuesday 25 April, 2006 20:22

I love your module but I think I may have found a slight error in the modules/Multiheadlines/admin/index.php file.

Line 32 seems redundant:

if (!eregi("admin.php", $_SERVER['SCRIPT_NAME'])) { die ("Access Denied"); }

Line 33-34 seems to be the correct line:

if (!eregi($admin_file.".php", $_SERVER['SCRIPT_NAME'])) {
die ("Access Denied");

I was having the Access Denied white page since my admin.php is a different name. Perhaps I am missing something but I thought I would share this.

Thank you again for making a great module!

Camber

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 25 April, 2006 20:50

Yes. I wanted to help the people who are still using $_SERVER['SCRIPT_NAME'] so a I added that line [twice Mr. Green ].
Seems I rushed the thinks a little bit.

If the people use Nuke 7.6+ then the line with $_SERVER['PHP_SELF'] will be used.

Anyway thanks.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Tuesday 25 April, 2006 22:45

Thank you for sharing this headline system and being ontop of the support.

Camber

View user's profile Send private message
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
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
  


Page Generation: 0.59 Seconds