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

313 user(s) are online (211 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

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

Latest GitHub Commits