1
xsell
xoops_refcheck() is deprecated
  • 2009/9/23 5:57

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Hello every1

I have this error when Making a post with SHoutbox module (Not tank Module).

Notice: Function xoops_refcheck() is deprecated, use xoopsSecurity::checkReferer instead in file /include/functions.legacy.php line 37


The error after Making this line to Check if the Visitor trys to access the post file direct .

if( ! xoops_refcheck() ) die( "XOOPS_URL is not included in your REFERER" ) ;


Is any thing wrong with useing xoops_refcheck ?

2
ghia
Re: xoops_refcheck() is deprecated
  • 2009/9/23 8:26

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The message is intended for developers of the module and can be ignored.
It warns that the function will no longer be supported somewhere in the future and has to be replaced with a new function.

Login

Who's Online

103 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 103


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