Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How can you find out what version a site is using?

0 votes
I've noticed the Q&A source does not include a VERSION.txt or something similar.  In fact searching the code and the installed site I can't find a single instance of a version number.

Am I missing something?  How can I find out the version of an install?
Q2A version: That's the question. I don't know
asked Jan 24 in Q2A Core by ralphlaw

1 Answer

0 votes
 
Best answer

Look at the top of qa-include/qa-base.php, where it defines QA_VERSION.

answered Jan 25 by gidgreen
selected Jan 26 by ralphlaw
The only problem I see with that, is if there is a security issue with a version, someone could easily find all sites that are of that version and exploit them.
I see the risk, but in any event the version number can also be detected from the CSS and Javascript references. And for the same price as retrieving VERSION.txt, the hacker could just perform whatever request exposes the vulnerability, and see if it works. Luckily, none found so far... :)