castopod/app/Libraries/ViewThemes/Config/Themes.php
Yassine Doghri 7a276764e6 feat(themes): add ViewThemes library to set views in root themes folder
app, admin, install and authentication views are now located in root themes/ folder
2021-12-29 11:54:52 +00:00

25 lines
458 B
PHP

<?php
declare(strict_types=1);
namespace ViewThemes\Config;
use CodeIgniter\Config\BaseConfig;
class Themes extends BaseConfig
{
public string $themesDirectory = ROOTPATH . 'themes';
public string $manifestFilename = 'manifest.json';
/**
* @var array<string, string>
*/
public array $themes = [
'app' => 'cp_app',
'admin' => 'cp_admin',
'install' => 'cp_install',
'auth' => 'cp_auth',
];
}