![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/core/Theme/config/ |
<?php return [ 'resource_url' => 'themes', 'corals_admin' => 'corals-admin', 'corals_frontend' => 'corals-basic', /* |-------------------------------------------------------------------------- | Root path where theme Views will be located. | Can be outside default views path e.g.: resources/themes | Leave it null if you will put your themes in the default views folder | (as defined in config\views.php) |-------------------------------------------------------------------------- */ 'themes_path' => base_path('resources/themes'), /* |-------------------------------------------------------------------------- | Set behavior if an asset is not found in a Theme hierarchy. | Available options: THROW_EXCEPTION | LOG_ERROR | IGNORE |-------------------------------------------------------------------------- */ 'asset_not_found' => 'LOG_ERROR', /* |-------------------------------------------------------------------------- | Do we want a theme activated by default? Can be set at runtime with: | Theme::set('theme-name'); |-------------------------------------------------------------------------- */ 'default' => null, /* |-------------------------------------------------------------------------- | Cache theme.json configuration files that are located in each theme's folder | in order to avoid searching theme settings in the filesystem for each request |-------------------------------------------------------------------------- */ 'cache' => false, /* |-------------------------------------------------------------------------- | Define available themes. Format: | | 'theme-name' => [ | 'extends' => 'theme-to-extend', // optional | 'viewsPath' => 'path-to-views', // defaults to: resources/views/theme-name | 'assetPath' => 'path-to-assets', // defaults to: public/theme-name | | // You can add your own custom keys | // Use Theme::getSetting('key') & Theme::setSetting('key', 'value') to access them | 'key' => 'value', | ], | |-------------------------------------------------------------------------- */ 'themes' => [ // Add your themes here. These settings will overide theme.json settings defined for each theme /* |---------------------------[ Example Structure ]-------------------------- | | // Full theme Syntax: | | 'example1' => [ | 'extends' => null, // doesn't extend any theme | 'viewsPath' => example, // = resources/views/example_theme | 'assetPath' => example, // = public/example_theme | ], | | // Use all Defaults: | | 'example2', // Assets =\public\example2, Views =\resources\views\example2 | // Note that if you use all default values, you can ommit decleration completely. | // i.e. defaults will be used when you call Theme::set('undefined-theme') | | | // This theme shares the views with example2 but defines its own assets in \public\example3 | | 'example3' => [ | 'viewsPath' => 'example', | ], | | // This theme extends example1 and may override SOME views\assets in its own paths | | 'example4' => [ | 'extends' => 'example1', | ], | |-------------------------------------------------------------------------- */ ], ];