views:

31

answers:

2

The title says it all really. Have been using it for a while with CodeIgniter and I can't remember if I installed v2 or just copied the files from another project.

Any ideas?

A: 

I ended up downloading the beta of the new doctrine and looking to see if there were differences in the file structure, and there were.

Doctrine 1.2 will look like doctrine/lib whereas doctrine 2 has separate folders for the DBAL and ORM.

Couldn't find any version numbers in any files so this seemed like the best way.

slugmandrew
+2  A: 

Check out the file lib/Doctrine/ORM/Version.php, there is a constant in there that shows the version. It's also accessible from a running app but this is easier.

Chuck Vose