1
ukdave
Block direct linking Postnuke equivalent.
  • 2004/9/3 0:29

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


In Postnuke the following blocks direct linking:

if (!defined("LOADED_AS_MODULE"))
{
die ("You can't access this file directly...");
}



Is there a XOOPS equivalent?

2
Mithrandir
Re: Block direct linking Postnuke equivalent.

if (!defined('XOOPS_MAINFILE_INCLUDED')) {
    die(
'You cannot access this file directly...");
}

3
ukdave
Re: Block direct linking Postnuke equivalent.
  • 2004/9/3 9:44

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


Thanks!

Login

Who's Online

254 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits