-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssets.php
More file actions
44 lines (36 loc) · 1.14 KB
/
Assets.php
File metadata and controls
44 lines (36 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
namespace Config;
/***
*
* This file contains example values to override or augment default library behavior.
* Recommended usage:
* 1. Copy the file to app/Config/Assets.php
* 2. Set any override variables
* 3. Add additional route-specific assets to $routes
* 4. Remove any lines to fallback to defaults
*
***/
class Assets extends \Codenom\Assets\Config\Assets
{
// Whether to continue instead of throwing exceptions
public $silent = true;
// Extensions to use when auto-detecting assets
public $extensions = ['css', 'js'];
// Location of asset files in the filesystem
public $fileBase = FCPATH . 'assets/';
// Location of asset URLs
public $webBase = 'https://example.com/assets/';
// Starting directory for manifest publication
public $publishBase = ROOTPATH . 'vendor/';
// Additional paths to load per route
// Relative to fileBase, no leading/trailing slashes
public $routes = [
'' => [
'bootstrap/dist/css/bootstrap.min.css',
'bootstrap/dist/js/bootstrap.bundle.min.js',
],
'files/upload' => [
'dropzone/',
],
];
}