find out what version Drupal is
flintstone - March 3, 2007 - 03:49
I installed Drupal a while back on a web hosting service. I can't remember what version it's on. I think it was 4.something. Could someone give me a PHP hack or a code fragment or something so I can figure out what version Drupal I have installed. I can't do a memory dump because I don't have physical access to the machine. Thanks.

Do you still have the
Do you still have the CHANGELOG.txt in your root drupal directory? The top version should be your current version...
Failing the CHANGELOG, you
Failing the CHANGELOG, you can try reading the system.module. You can find it here:
For Drupal 4.x:
[drupalroot]/modules/system.moduleFor Drupal 5.x:
[drupalroot]/modules/system/system.moduleYou can find the version defining value in the first 10 lines somewhere.
...
http://drupal.org/handbook/version-info
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain