|
Modify&Download: How to use Thaihealthnews 3.0 in phpNUKE7.4
Posted on Tuesday, November 16 @ 17:13:37 GMT+7 by webmaster |
|
Many of My friends have told me that The Thaihealthnews modules could not be used in phpNUKE7.4 . This is how to fix this!!!
Please see the file modules/Thaihealthnews/index.php
around line 47-49
==============
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
==============
chane to
==============
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}
==============
That's it , enjoy!
|
|
| |
|