Created
January 26, 2012 19:16
-
-
Save Aurielle/1684471 to your computer and use it in GitHub Desktop.
Introducing Avalon Framework: bootstrap.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ------- Load Avalon ------- | |
require(LIBS_DIR . '/Avalon/loader.php'); | |
// ------- Basic configuration ------- | |
// * $environment, $debuggerMode, $debuggerEmail and $params | |
// * are all initialized automatically. Do NOT overwrite $params, just add | |
// * new values: $params += array('key' => 'value'); | |
// | |
// $environment = Avalon\Config\Configurator::PRODUCTION; | |
// $environment = Avalon\Config\Configurator::DEVELOPMENT; | |
// | |
// $debuggerMode = Nette\Diagnostics\Debugger::DEVELOPMENT; | |
// $debuggerMode = Nette\Diagnostics\Debugger::PRODUCTION; | |
// $debuggerMode = array('1.2.3.4'); | |
// | |
// $debuggerEmail = '[email protected]'; | |
$application = new Avalon\Application\Application($params, $environment); | |
$application->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment