Ravens PHP Scripts

Rating Web Links And Downloads returns broken link.
Date: Tuesday, August 05, 2003 @ 14:55:47 CDT
Topic: Bugs - Fixed


Problem: Rating Web Links And Downloads returns broken link.
Fix by: mynukecops http://www.natrindex.com/
Fix:

Open modules/Downloads/voteinclude.php and modules/Web_Links/voteinclude and change:


if (!eregi("index.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly....");
}

To:
if (!eregi("modules.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly....");
}


This bug is present in 6.6, 6.7, 6.8, 6.9







This article comes from Ravens PHP Scripts
https://www.ravenphpscripts.com

The URL for this story is:
https://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=134