How to tell which version of drupal you have installed - solved

s_oneill - August 11, 2006 - 19:19

Which version of drupal do you have installed?

Check the last entry in CHANGELOG.txt in the root folder ... that will tell you!

Soren ONeill - Denmark

You can also check the

zerok - August 11, 2006 - 21:27

You can also check the VERSION constant in modules/system.module :-)

How to print the Drupal Version

KentBye - October 15, 2007 - 18:37

Taking this lead, I created a node w/ a PHP input filter, and typed in this code to display the Drupal Version number:

<?php
print VERSION;
?>

i dont have a CHANGELOG.TXT,

iedude@remote.i... - August 15, 2006 - 04:56

i dont have a CHANGELOG.TXT, in my root (probably deleted it a long time ago), and i cant find anything about "VERSION" in my system.module ..

Now what??

Then you at least know up to

zerok - August 15, 2006 - 11:34

Then you at least know up to some point, that you're not using Drupal 4.7.x and if you have the contact.module in core, then you're probably not using 4.5.x (at least I don't see it in 4.5.8). This should at least help you figure out, what major release of Drupal you're using. You could then also start checking the $Id: lines in each file to determine, how old your core files are. With some little magic in your favorite script language this shouldn't be too hard to find out :) Just an idea.

 
 

Drupal is a registered trademark of Dries Buytaert.