Forums / Contribution-Writing Guidelines / Quick question about version

Quick question about version

Locked

Started by meshach on 20 Jul 2009, 6:52 PM · Views: 2,382

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Jul 2009, 6:52 PM
#1
meshach avatar

meshach

Zen Follower

Join Date:
Jun 2008
Location:
USA
Posts:
188
Plugin Contributions:
0

Quick question about version

Would someone explain this line to me?

Version: $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $ 

What does each part mean and when I make a module what should I put?

Thanks!
Meshach


20 Jul 2009, 7:40 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Quick question about version

That information comes from the SVN repository that the Zen Cart developers store their data in while working on coding updates.

I don't recommend changing any of the original content of that line because if you do that nobody knows what version the original content related to.

So, if you're making changes to the file, leave that line intact, and add on to the end of the line (or a new line) something like " .. with edits by Meshach on 07/20/2009 for xyz purpose".

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jul 2009, 5:12 PM
#3
meshach avatar

meshach

Zen Follower

Join Date:
Jun 2008
Location:
USA
Posts:
188
Plugin Contributions:
0

Re: Quick question about version

Ah, thanks for the explanation.

On my way to being totally zenned! :smartalec: