Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-08-09 15:28:43

XAOS-Eric
Member
Registered: 2013-10-16
Posts: 34

Migrate 2.0 Installer to use the new Tasks namespace?

I've been playing around with the installer transitioning it to use the FluxBB\Tasks\Install class, and noticed that FluxBB didn't recognize the new location of the config file, should I push an update to have fluxbb look in the new location for the config file? Also, should the updater be combined with the installer, so we can have a shared interface for the installer and updater?

Offline

#2 2014-08-21 12:35:35

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,047
Website

Re: Migrate 2.0 Installer to use the new Tasks namespace?

The installer will contain a converter that allows importing forums from other software. Updating from FluxBB 1.5 will work just like convertig from another forum software ("import").

Which config file are you referring to?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2014-09-04 13:27:00

XAOS-Eric
Member
Registered: 2013-10-16
Posts: 34

Re: Migrate 2.0 Installer to use the new Tasks namespace?

In FluxBB\Tasks\Install (https://github.com/fluxbb/core/blob/mas … nstall.php), there is

$conf_dir = path('app').'config/fluxbb/';
$conf_file = $conf_dir.'database.php';

and in FluxBB\Installer (https://github.com/fluxbb/installer/blo … taller.php), we have

$confFile = $this->container['path'].'/config/fluxbb.php';

Offline

#4 2014-09-08 19:41:51

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,047
Website

Re: Migrate 2.0 Installer to use the new Tasks namespace?

I believe the FluxBB\Tasks\Install class is not even used right now...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB 1.5.8