2019-07-17 20:08:50 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2019-07-17 20:31:04 +00:00
|
|
|
* @copyright Copyright (C) 2005-2010 Keyboard Monkeys Ltd. http://www.kb-m.com
|
2019-07-17 20:08:50 +00:00
|
|
|
* @license http://creativecommons.org/licenses/BSD/ BSD License
|
|
|
|
* @author Keyboard Monkey Ltd
|
|
|
|
* @since CommunityID 0.9
|
|
|
|
* @package CommunityID
|
|
|
|
* @packager Keyboard Monkeys
|
|
|
|
*/
|
|
|
|
|
2019-07-17 20:31:04 +00:00
|
|
|
define('APP_DIR', dirname(__FILE__));
|
|
|
|
|
|
|
|
// change this if separating app code from web-accessible files
|
|
|
|
define('WEB_DIR', APP_DIR);
|
|
|
|
|
2019-07-17 20:16:19 +00:00
|
|
|
require 'Application.php';
|
2019-07-17 20:08:50 +00:00
|
|
|
|
2019-07-17 20:16:19 +00:00
|
|
|
Application::setIncludePath();
|
|
|
|
Application::setAutoLoader();
|
|
|
|
Application::setConfig();
|
|
|
|
Application::setErrorReporting();
|
|
|
|
Application::setLogger();
|
|
|
|
Application::logRequest();
|
|
|
|
Application::setDatabase();
|
|
|
|
Application::setSession();
|
|
|
|
Application::setAcl();
|
|
|
|
Application::setI18N();
|
|
|
|
Application::setLayout();
|
|
|
|
Application::setFrontController();
|
|
|
|
Application::dispatch();
|