<?php
// Add /library and /application directory to our include path
$siteRootDir = dirname(__FILE__);
define('APPLICATION_PATH', $siteRootDir . '/application');
set_include_path(
APPLICATION_PATH . '/models' . PATH_SEPARATOR
. APPLICATION_PATH . '/modules/default/controllers' . PATH_SEPARATOR
. APPLICATION_PATH . '/controllers' . PATH_SEPARATOR
. APPLICATION_PATH . PATH_SEPARATOR
. $siteRootDir . '/library' . PATH_SEPARATOR
. get_include_path()
);
require APPLICATION_PATH . '/bootstrap.php';
|