So, I've trimmed down and commented all my code and everything is uploaded to the host and working, but before I do my final submission upload I just have one quick question.
I know in the portfolio brief the one requirement is to have a connect.php file to handle the DB connections, and that this file should then be included on all the other pages.
The problem I have is that I do have the connect.php file that handles the DB connections, but then I include this in my functions.php file, where I have a class and another function that then handles all the data queries to the DB. I then include the
functions.php file in all my other pages, which effectively means that the connect.php is indirectly included in them all as well.
I do make mention of the fact that connect.php is included in functions.php that is then included in my pages in my comments on all the pages, but my question is, will this be acceptable, or will I be penalised for not explicitly including connect.php in every page as per the portfolio brief?