* but only to help debug problems getting the real demo working. * * Change localhost to the correct name for your virtual web server setup: * http://localhost/zfdemo_debug/ */ //$installDir = '/cygdrive/c/gavin/home/lighttpd/zf/zfdemo/section1_install/'; $installDir = 'section1_install'; // absolute real paths are also ok error_reporting(E_ALL | E_STRICT); // verbose require 'Zend/Registry.php'; require 'Zend/Date.php'; require 'Zend/Debug.php'; if (ZFDemo::bootstrap($installDir) === false) { // Run! ZFDemo_Log::show(); } class ZFDemo { public static $environment; // which application configuration variant? live, staging, etc. public static $registry; // set of <key,value> pairs for misc. information public static $view; // view used to collect and render final output public static function bootstrap($installDir) { if (self::testEnvironment() === false) { echo 'Environment fails to meet minimum requirements for this demo tutorial.'; return; }