Thread
:
where can I add my own functions?
View Single Post
#
5
03-10-2011, 01:50 PM
Shamun
X-Adept
Join Date: Jun 2009
Location: North Carolina
Posts: 841
Re: where can I add my own functions?
You have to 'start' X-cart in each script.
The first thing you should have in your file, if in xcart root, is this:
Code:
require './auth.php';
Then you can use $smarty and other x-cart functions.
__________________
- Shane Munroe
Shamun
View Public Profile
Send a private message to Shamun
Find all posts by Shamun