mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00

- generate .env file to configure instance's environment - add phpdotenv dependency to verify .env file - add AppSeeder to call all required seeds at once - add env and superadmin form views using form helpers closes #2
26 lines
521 B
PHP
26 lines
521 B
PHP
<?php
|
|
|
|
/**
|
|
* Class AppSeeder
|
|
* Calls all required seeders for castopod to work properly
|
|
*
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Database\Seeds;
|
|
|
|
use CodeIgniter\Database\Seeder;
|
|
|
|
class AppSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
$this->call('AuthSeeder');
|
|
$this->call('CategorySeeder');
|
|
$this->call('LanguageSeeder');
|
|
$this->call('PlatformSeeder');
|
|
}
|
|
}
|