mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 19:47:45 +02:00
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
This commit is contained in:
parent
58c8839902
commit
7a276764e6
155 changed files with 356 additions and 178 deletions
|
|
@ -8,17 +8,14 @@ use CodeIgniter\Config\BaseConfig;
|
|||
|
||||
class ViewComponents extends BaseConfig
|
||||
{
|
||||
public string $classComponentsPath = 'View/Components';
|
||||
|
||||
public string $viewFileComponentsPath = 'Views/components';
|
||||
public string $componentsDirectory = 'Components';
|
||||
|
||||
/**
|
||||
* Modules to look into for local components. Associative array with the module namespace as key and the module path
|
||||
* as value.
|
||||
* Paths to look into for local components. Will look for the $componentsDirectory inside.
|
||||
*
|
||||
* @var array<string, string>
|
||||
* @var string[]
|
||||
*/
|
||||
public array $lookupModules = [];
|
||||
public array $lookupPaths = [];
|
||||
|
||||
public string $defaultLookupPath = APPPATH;
|
||||
public string $defaultLookupPath = APPPATH . 'Views/';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue