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.

Comments

geojaz’s picture

Do you still have the CHANGELOG.txt in your root drupal directory? The top version should be your current version...

hazexp’s picture

Failing the CHANGELOG, you can try reading the system.module. You can find it here:

For Drupal 4.x:
[drupalroot]/modules/system.module

For Drupal 5.x:
[drupalroot]/modules/system/system.module

You can find the version defining value in the first 10 lines somewhere.

sepeck’s picture

http://drupal.org/handbook/version-info

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide