]> git.mxchange.org Git - core.git/commit
Prepared rewrite of framework bootstrap:
authorRoland Haeder <roland@mxchange.org>
Wed, 29 Jun 2016 21:01:49 +0000 (23:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 29 Jun 2016 21:01:49 +0000 (23:01 +0200)
commit9d1de68caa0fb93f1862f1f8d3939aa15405cee7
tree7dc6e5300f11072784a3b182d793d3f964b9b932
parentb533086a1f68ee6223aedad543cd8943352f8e31
Prepared rewrite of framework bootstrap:
- added initial class 'BootstrapFramework' which doesn't need to be
  instanciated as only static methods will come
- $cfg in inc/config.php is now being unset, it is not good coding practice
  to then use it outside the scope of the included file
- you then need to get $cfg again from
  FrameworkConfiguration::getSelfInstance() to be able to set/get configuration
  entries.
- added note how to deal with inc/config/config-local.php-dist which is an
  example how to use it in your own applications.
- minor improvements (comments)

Signed-off-by: Roland Häder <roland@mxchange.org>
inc/bootstrap/.htaccess [new file with mode: 0644]
inc/bootstrap/class_BootstrapFramework.php [new file with mode: 0644]
inc/config.php
inc/config/config-local.php-dist
index.php