Initial work towards template support

* Simple refactoring of the config system
* Add new unstyled template
* Add new modern template (previously the only)
* Add placeholder for blocky template
* Relocate autoloader
* Move build to ./bin
This commit is contained in:
Craig Davis
2013-03-18 21:36:06 -05:00
parent cea267adac
commit a98b3602f5
23 changed files with 2008 additions and 140 deletions

17
vendor/autoload.php vendored Normal file
View File

@@ -0,0 +1,17 @@
<?php
spl_autoload_register(function ($className) {
$namespaces = explode('\\', $className);
if (count($namespaces) > 1) {
$classPath
= APPLICATION_BASE_PATH
. '/vendor/'
. implode('/', $namespaces)
. '.php';
if (file_exists($classPath)) {
require_once($classPath);
}
}
});
/* End of file autoload.php */