- Update database config in
application/config/database.php
- Update
log_treshold
to1
andbase_url
inapplication/config/config.php
- Update
bonfire/codeigniter/core/Common.php
at line 257 onreturn $_config[0] =& $config;
to below,
$_config[0] =& $config;
return $_config[0];
- Open in browser to start installation
- Update
template.admin_theme
toscale
inapplication/config/application.php
- Copy & paste 4-sight
home/themes/scale
topublic/themes/scale
- Copy & paste 4-sight
home/bonfire/modules/builder
toapplication/modules/builder
- Copy & paste 4-sight
home/bonfire/modules/ui
toapplication/modules/ui
- Replace
application/core/MY_Model.php
with 4-sighthome/application/core/MY_Model.php
- Update
public/themes/scale/partials/_header.php
at line 142 to 151 to below for now;
$unread_notifications = false;
$last_unread_notifications = false;
- Create a
composer.json
file with below content;
{
"autoload": {
"classmap": [
"application/models"
]
},
"require": {
"illuminate/database": "~5.2"
}
}
- Insert below line to
index.php
require_once '../vendor/autoload.php';
- Insert below content to
application/config/autoload.php
use Illuminate\Database\Capsule\Manager as Capsule;
$capsule = new Capsule;
$this->load->database();
$capsule->addConnection(array(
'driver' => 'mysql',
'host' => $this->db->hostname,
'database' => $this->db->database,
'username' => $this->db->username,
'password' => $this->db->password,
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => $this->db->dbprefix,
));
$capsule->setAsGlobal();
$capsule->bootEloquent();