Removing broken Registry stuff (as registry is now deprecated in b8framework) - Fixes #58
This commit is contained in:
parent
efcf209478
commit
6e3df00f62
|
@ -62,8 +62,8 @@ b8\Database::setDetails('{$dbName}', '{$dbUser}', '{$dbPass}');
|
|||
b8\Database::setWriteServers(array('{$dbHost}'));
|
||||
b8\Database::setReadServers(array('{$dbHost}'));
|
||||
|
||||
\$registry = b8\Registry::getInstance();
|
||||
\$registry->set('install_url', '{$ciUrl}');
|
||||
\$config = b8\Config::getInstance();
|
||||
\$config->set('install_url', '{$ciUrl}');
|
||||
";
|
||||
|
||||
// Has the user entered Github app details? If so add those to config:
|
||||
|
|
|
@ -37,6 +37,8 @@ require_once(APPLICATION_PATH . 'vendor/autoload.php');
|
|||
|
||||
// Load configuration if present:
|
||||
$config = new b8\Config();
|
||||
$request = new b8\Http\Request();
|
||||
$registry = new b8\Registry($config, $request);
|
||||
|
||||
if (file_exists(APPLICATION_PATH . 'config.php')) {
|
||||
require(APPLICATION_PATH . 'config.php');
|
||||
|
|
Loading…
Reference in a new issue