View Single Post
need help to port a script for nuke
Old
  (#1 (permalink))
sweetquads
Junior Member
 
Status: Offline
Posts: 47
Join Date: May 2003
need help to port a script for nuke - 08-09-2003, 08:34 PM

I am trying to port photopost to use on my nuke site. I have photopost installed but when i go to other pages in photopost it comes up with the message "you cant access this file directly"
I added this code to get the index of photopost to look right:
Code:
if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
but that does not work for the other pages cause i get the error.
   
Reply With Quote