rev.6 for SendEmail

This commit is contained in:
Visman 2020-08-19 21:47:24 +07:00
parent 6ccde067a4
commit 7bd8a14d4e
4 changed files with 20 additions and 2 deletions

View file

@ -492,4 +492,21 @@ class Update extends Admin
return null;
}
/**
* rev.5 to rev.6
*/
protected function stageNumber5(array $args): ?int
{
$coreConfig = new CoreConfig($this->c->DIR_CONFIG . '/' . self::CONFIG_FILE);
$coreConfig->add(
'multiple=>Email',
'\\ForkBB\\Models\\Pages\\Email::class',
'Report'
);
$coreConfig->save();
return null;
}
}

View file

@ -42,7 +42,7 @@ if (
}
$c->PUBLIC_URL = $c->BASE_URL . $forkPublicPrefix;
$c->FORK_REVISION = 5;
$c->FORK_REVISION = 6;
$c->START = $forkStart;
$c->DIR_APP = __DIR__;
$c->DIR_PUBLIC = $forkPublic;

View file

@ -162,6 +162,7 @@ return [
'Misc' => \ForkBB\Models\Pages\Misc::class,
'Moderate' => \ForkBB\Models\Pages\Moderate::class,
'Report' => \ForkBB\Models\Pages\Report::class,
'Email' => \ForkBB\Models\Pages\Email::class,
'ProfileView' => \ForkBB\Models\Pages\Profile\View::class,
'ProfileEdit' => \ForkBB\Models\Pages\Profile\Edit::class,
'ProfileConfig' => \ForkBB\Models\Pages\Profile\Config::class,

View file

@ -1,4 +1,4 @@
# ForkBB rev 5 Pre-Alpha Readme
# ForkBB rev 6 Pre-Alpha Readme
## About