Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Q2A Core by
This might be a very basic question, but these two pages have been troubling me. I am unable to understand the difference in the index.php and qa-config-example.php of q2a source code.

What are these two pages and what do they render?

1 Answer

+2 votes
selected by
Best answer

index.php is basically the starting point for the web application (the main() function if you will).

qa-config-example.php has no function by itself. It's a configuration example that must be renamed to qa-config.php and filled with the desired configuration values. It's then sourced by other PHP files so that they have access to the config settings.