diff --git a/app/Models/Pages/Admin/Update.php b/app/Models/Pages/Admin/Update.php index aa4aae9f..e57ebe77 100644 --- a/app/Models/Pages/Admin/Update.php +++ b/app/Models/Pages/Admin/Update.php @@ -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; + } } diff --git a/app/bootstrap.php b/app/bootstrap.php index 169d45a4..5bd4b4a4 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -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; diff --git a/app/config/main.dist.php b/app/config/main.dist.php index 6fd198c0..e5c2346e 100644 --- a/app/config/main.dist.php +++ b/app/config/main.dist.php @@ -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, diff --git a/readme.md b/readme.md index c17c0c0f..67a85111 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# ForkBB rev 5 Pre-Alpha Readme +# ForkBB rev 6 Pre-Alpha Readme ## About