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

geojaz - March 3, 2007 - 04:01

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

Failing the CHANGELOG, you

hazexp - March 3, 2007 - 05:29

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 - March 3, 2007 - 05:37

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

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

 
 

Drupal is a registered trademark of Dries Buytaert.