add PHPdoc (solves issue #343)
This commit is contained in:
parent
a4859e1487
commit
daa33a8f4b
637 changed files with 568310 additions and 0 deletions
34
doc/files/bootstrap.inc.txt
Normal file
34
doc/files/bootstrap.inc.txt
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* NRE
|
||||
*
|
||||
* @author coderkun <olli@coderkun.de>
|
||||
* @copyright 2013 coderkun (http://www.coderkun.de)
|
||||
* @license http://www.gnu.org/licenses/gpl.html
|
||||
* @link http://www.coderkun.de/projects/nre
|
||||
*/
|
||||
|
||||
// Include required classes
|
||||
require_once(ROOT.DS.'configs'.DS.'CoreConfig.inc');
|
||||
require_once(ROOT.DS.\nre\configs\CoreConfig::getClassDir('core').DS.'Autoloader.inc');
|
||||
|
||||
|
||||
// Set PHP-logging
|
||||
ini_set('error_log', ROOT.DS.\nre\configs\CoreConfig::getClassDir('logs').DS.'php'.\nre\configs\CoreConfig::getFileExt('logs'));
|
||||
|
||||
// Register autoloader
|
||||
\nre\core\Autoloader::register();
|
||||
|
||||
|
||||
// Initialize WebApi
|
||||
$webApi = new \nre\apis\WebApi();
|
||||
|
||||
// Run WebApi
|
||||
$webApi->run();
|
||||
|
||||
// Render output
|
||||
$webApi->render();
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue