Updating PHPCI to use Symfony/Console rather than a series of individual PHP files.
This commit is contained in:
parent
505b0c0563
commit
988fa42d92
9 changed files with 231 additions and 132 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
date_default_timezone_set(@date_default_timezone_get());
|
||||
|
||||
spl_autoload_register(function ($class)
|
||||
{
|
||||
$file = str_replace(array('\\', '_'), '/', $class);
|
||||
|
|
@ -21,7 +23,7 @@ spl_autoload_register(function ($class)
|
|||
define('APPLICATION_PATH', dirname(__FILE__) . '/');
|
||||
|
||||
require_once('vendor/autoload.php');
|
||||
require_once('config.php');
|
||||
require('config.php');
|
||||
|
||||
b8\Registry::getInstance()->set('app_namespace', 'PHPCI');
|
||||
b8\Registry::getInstance()->set('DefaultController', 'Index');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue