View Single Post
  #4  
Old 04-22-2009, 03:00 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Adding my own custom PHP pages?

Tha basic sheme is
Code:
require_once ... ; // your custom includes and requres here .... // your custom code which is not using x-cart libraries (can be omited) chdir( realpath('../shop/').'/'); //changing current directory to x-cart directory (shop in your case) require_once('auth.php'); // including x-cart core libraries x_load('lib1'); x_load('lib2'); ... x_load('lib3'); //loading custom x-cart libraries from include/func directory (if required) .... // your custom code which is using x-cart libraries

http://forum.x-cart.com/showpost.php?p=255489&postcount=3
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote