@MarcB said:Rather stupid to keep your includes/libraries within the document root... Especially if some of the code in those includes isn't encapsulated in function definitions. And even more so if there's a possibility of the raw content being served up somehow, i.e. stored as .inc files which would get served up as plain text, and not run through the PHP interpreter.. Unless you want them to be served up as plain text (so you can include files over HTTP), why would you give them a .inc extension rather than .php?! This seems one of the craziest conventions I've seen, though not much of a WTF in the context of PHP.