For those of you using 3.4.14 and below, I added a few snippets of code to keep the page secure, meaning you have to be logged in to the admin area to view the report. My concern was that AS IS, the file has no security measures.
To secure your report, save the file to your [xcart]/admin/ directory.
Next go into your PHP file and add the following lines to the very top:
Code:
/* Added require fields so that you must be logged in to view sales reports */
require "../smarty.php";
require "../config.php";
require "./auth.php";
require "../include/security.php";
I know this works for my version of xcart, others may need to just look at another file in your /admin/ directory and see what include files they are requiring at the top of each page.
In order to access this, you must be logged into your admin area. Then you can copy/paste the URL, or create a special link in your admin area.
Hope this helps some of you.