{ PDO Connection }

Our connection class. The constructor calls for an array of connection options, including the DSN for PDO. The array comes from an external data file above the web root for security.

Separate config PHP file with various conditionals based on environment, domain name, etc.