コード例 #1
0
 /**
  * Run the Application Controller
  *
  * @return void
  */
 public static function run()
 {
     Events::dispatch('APPLICATION', 'RUN');
     self::$request = Request::get_instance();
     // Load the application settings
     self::load_application_settings();
     Events::dispatch('APPLICATION', 'LOADED');
     Events::dispatch('APPLICATION', 'HANDOFF');
     self::$request->app['path'] = APP_PATH;
     self::$request->app['main_controller'] = APP_CONTROLLER;
     // Try to load the Application Controller
     $appclass = APP_CONTROLLER;
     self::$app = new $appclass();
     Events::dispatch('APPLICATION', 'COMPLETE');
 }
コード例 #2
0
    ?>
 |
							<strong>Line:</strong> <?php 
    echo $trace['line'];
    ?>
						</p>
					</li>
				<?php 
}
?>
				</ul>
			</div>

		</div>

	</div><!-- #content -->

	<footer>
		<p id="elusive" class="credits">The Elusive Framework was created by <a href="http://www.elusive-concepts.com" target="_blank">Elusive Concepts</a></p>
	</footer>

</div>

<?php 
/*$this->render('console');*/
echo \elusive\lib\Events::dispatch('TEMPLATE', 'BEFORE_HTML_END', '');
?>

</body>
</html>