Post by fabioDexus » Wed May 18, 2011 6:21 am

I am trying to make a payment method and it have some catalog code and some admin code.
But there is some config stuff that are common to both and i wouldn't like to make dupplications.
Is there any directory that is common to both or some directory structure that you advise for that, i don't want to put it in system since it's not from the core

Thanks in advance

New member

Posts

Joined
Fri May 13, 2011 5:53 am

Post by Qphoria » Wed May 18, 2011 9:17 am

The system/config folder is a good place for shared configuration
or system/library folder... create a "payment" folder inside there and use that
Any place in the system folder works

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by fabioDexus » Wed May 18, 2011 9:31 am

Thanks Qphoria.
I guessed that the system was code from the opencart and thought that would be better not to mix things up, but i will use it them.

New member

Posts

Joined
Fri May 13, 2011 5:53 am
Who is online

Users browsing this forum: Google [Bot] and 77 guests