Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Better method to install modules


PerrySmit

Recommended Posts

I?m trying and error some modules, though run into troubles when some goes wrong. After the third module, you must spend to much time figure out the issue. Further, when an update comes how does the updates of some files described in the modules will merge into the things you have changed?

 

I prefer a better method to implement modules. Something which will insert some code into the files automatically and be able to delete the codes wich was inserted.

 

So, each module should have an installation script in one way or an other.

 

Maybe there is already something like this? Anybody idea?s?

 

I think of a perl or php script which will do the following things:

1- Backup the original file.

2a. Search the lines and the codes which must changed.

2b. Comment these lines and define them with begin and end tags, to be able to restore the lines later.

2.c insert the new lines, the lines should be defined with begin and end tags, containing date, time and version of the lines.

3. Be able to restore the original lines.

 

Again, maybe somoene know a script which will help with this.

 

Thanks,

Perry

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...