View Single Post
  #3  
Old 03-11-2015, 05:42 AM
  zychen's Avatar 
zychen zychen is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 48
 

Default Re: Using Extra Resources in XC5

Hi Tony,

It shouldn't be an X-Cart problem.
It's just that I'm not sure what the proper way is to get the path of my extra file for my module.

Since the files are executed in the cached run folder instead, a relative path isn't going to work but I don't want to hardcode my absolute directory paths to get the extra file.

Basically, where would you suggest I place such files and how should I access them in code?
__________________
X-Cart 5.1.10
X-Cart Next 5.2.1 Beta
Reply With Quote