Chapter Two intro in main.inc.php
The good news about Chapter Two is that I've already been using a config file for building this site - and somewhat similar to Larry's. I've struggled for a long time with how to set includes directories simply and efficiently, and prefer to use the more universal (__DIR__) path "finder".
define('APPLICATION_PATH', __DIR__); set_include_path(implode(PATH_SEPARATOR, array( APPLICATION_PATH . '/includes', APPLICATION_PATH . '/classes', // enable the below line if you actually need the default include path, eg for PEAR // get_include_path() )));I will build this chapter using the links example - which is new for me to use a switch statement to get to the various pages. Links to ContactLinks to About