Php lithium (li3) how to find out the version

If I have a lithium application that I haven’t configured, how do I find out the version?

+4
source share
2 answers

I don’t think they put a timestamp in the files themselves. I would suggest you look at the test cases and look at the most recent timestamp.

+2
source

If you use it through git submodules , this is pretty easy.

 $ cd libraries/lithium $ git log -1 | grep commit commit 97be2347d5a2e9b096db44c009df79ee9b6c0199 

In this case, 0.10: https://github.com/UnionOfRAD/lithium/tags

I don't know if it makes sense to have strict version numbers in pre-1.0 state. Everything can and can break during the upgrade.

+2
source

Source: https://habr.com/ru/post/1402070/


All Articles