|
9 | 9 | # Ignore some app config files |
10 | 10 | /application/config/.environment |
11 | 11 | /application/config/.options.cache.php |
12 | | -/application/config/base_controller.php |
13 | | -/application/config/*/base_controller.php |
14 | | -/application/config/config.php |
15 | | -/application/config/database.php |
16 | | -/application/config/*/database.php |
17 | | -/application/config/language.php |
18 | | -/application/config/*/language.php |
19 | | -/application/config/trusted_hosts.php |
20 | | -/application/config/*/trusted_hosts.php |
| 12 | +/application/config/**/base_controller.php |
| 13 | +/application/config/**/config.php |
| 14 | +/application/config/**/database.php |
| 15 | +/application/config/**/language.php |
| 16 | +/application/config/**/trusted_hosts.php |
21 | 17 |
|
22 | 18 | # Ignore all modules installed in app directory |
23 | 19 | # See: ianhubnet/csk-packages/tree/main/packages/modules |
|
34 | 30 | !/application/storage/dist/ |
35 | 31 | !/application/storage/data/ |
36 | 32 |
|
37 | | -#=== CONTENT=== # |
38 | | - |
39 | | -# Ignore all cache files |
40 | | -/content/cache/* |
41 | | -!/content/cache/ |
42 | | - |
43 | | -# Ignore all common assets |
44 | | -# See: ianhubnet/csk-common |
45 | | -/content/common/* |
46 | | - |
47 | | -# Ignore all modules installed in public directory |
48 | | -# See: ianhubnet/csk-packages/tree/main/packages/modules |
49 | | -/content/modules/* |
50 | | -!/content/modules/ |
51 | | - |
52 | | -# Ignore all plugins installed in public directory |
53 | | -# See: ianhubnet/csk-packages/tree/main/packages/plugins |
54 | | -/content/plugins/* |
55 | | -!/content/plugins/ |
56 | | - |
57 | | -# Ignore all themes |
58 | | -# See: ianhubnet/csk-packages/tree/main/packages/themes |
59 | | -/content/themes/* |
60 | | - |
61 | | -# Ignore all uploaded files |
62 | | -/content/uploads/* |
63 | | -!/content/uploads/ |
64 | | - |
65 | | -# Ignore `skeleton`, CSK core folder (may vary) |
66 | | -# See: ianhubnet/csk-core |
67 | | -/skeleton/* |
| 33 | +#=== PUBLIC FOLDER ===# |
| 34 | +# Keep everything in public/ |
| 35 | +!/public/** |
68 | 36 |
|
69 | 37 | # Ignore dependency directory |
70 | 38 | /vendor/ |
|
103 | 71 | !**/.htaccess |
104 | 72 | !**/.gitkeep |
105 | 73 | !**/index.html |
| 74 | +!LICENSE.md |
| 75 | +!README.md |
0 commit comments