X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   What's new mod (https://forum.x-cart.com/showthread.php?t=12162)

Jon 01-16-2008 07:44 AM

Re: What's new mod
 
If you are using the first version on this page, you need to add this code into your newest.php at the very top or you are vulnerable to being hacked:

Code:

<?php
if ( !defined('XCART_SESSION_START') ) { header("Location: ../../"); die("Access denied"); }
(int)$wn;
?>



If you are using the version posted by PhilJ then find:

Code:

require "./auth.php";
require $xcart_dir."/include/categories.php";



After put:

Code:

(int)$wn;


All times are GMT -8. The time now is 04:32 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.