16 |
17 |
= lang('Errors.whoops') ?>
18 |
19 |
= lang('Errors.weHitASnag') ?>
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Directory access is forbidden.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/builds:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | 'vcs',
56 | 'url' => GITHUB_URL,
57 | ];
58 | }
59 |
60 | $array['require']['codeigniter4/codeigniter4'] = 'dev-develop';
61 | unset($array['require']['codeigniter4/framework']);
62 | } else {
63 | unset($array['minimum-stability']);
64 |
65 | if (isset($array['repositories'])) {
66 | foreach ($array['repositories'] as $i => $repository) {
67 | if ($repository['url'] === GITHUB_URL) {
68 | unset($array['repositories'][$i]);
69 | break;
70 | }
71 | }
72 |
73 | if (empty($array['repositories'])) {
74 | unset($array['repositories']);
75 | }
76 | }
77 |
78 | $array['require']['codeigniter4/framework'] = LATEST_RELEASE;
79 | unset($array['require']['codeigniter4/codeigniter4']);
80 | }
81 |
82 | file_put_contents($file, json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL);
83 |
84 | $modified[] = $file;
85 | } else {
86 | echo 'Warning: Unable to decode composer.json! Skipping...' . PHP_EOL;
87 | }
88 | } else {
89 | echo 'Warning: Unable to read composer.json! Skipping...' . PHP_EOL;
90 | }
91 | }
92 |
93 | $files = [
94 | __DIR__ . DIRECTORY_SEPARATOR . 'app/Config/Paths.php',
95 | __DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml.dist',
96 | __DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml',
97 | ];
98 |
99 | foreach ($files as $file) {
100 | if (is_file($file)) {
101 | $contents = file_get_contents($file);
102 |
103 | if ($dev) {
104 | $contents = str_replace('vendor/codeigniter4/framework', 'vendor/codeigniter4/codeigniter4', $contents);
105 | } else {
106 | $contents = str_replace('vendor/codeigniter4/codeigniter4', 'vendor/codeigniter4/framework', $contents);
107 | }
108 |
109 | file_put_contents($file, $contents);
110 |
111 | $modified[] = $file;
112 | }
113 | }
114 |
115 | if ($modified === []) {
116 | echo 'No files modified.' . PHP_EOL;
117 | } else {
118 | echo 'The following files were modified:' . PHP_EOL;
119 |
120 | foreach ($modified as $file) {
121 | echo " * {$file}" . PHP_EOL;
122 | }
123 |
124 | echo 'Run `composer update` to sync changes with your vendor folder.' . PHP_EOL;
125 | }
126 |
--------------------------------------------------------------------------------
/capture1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skuadron45/ci4adminlte/fa943c5d28966bed072a9002cbab0410a88fa94f/capture1.png
--------------------------------------------------------------------------------
/capture2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skuadron45/ci4adminlte/fa943c5d28966bed072a9002cbab0410a88fa94f/capture2.png
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "codeigniter4/appstarter",
3 | "description": "CodeIgniter4 starter app",
4 | "license": "MIT",
5 | "type": "project",
6 | "homepage": "https://codeigniter.com",
7 | "support": {
8 | "forum": "https://forum.codeigniter.com/",
9 | "source": "https://github.com/codeigniter4/CodeIgniter4",
10 | "slack": "https://codeigniterchat.slack.com"
11 | },
12 | "require": {
13 | "php": "^7.4 || ^8.0",
14 | "codeigniter4/codeigniter4": "dev-develop",
15 | "skuadron45/ci4adminrbac": "^1.0"
16 | },
17 | "require-dev": {
18 | "fakerphp/faker": "^1.9",
19 | "mikey179/vfsstream": "^1.6",
20 | "phpunit/phpunit": "^9.1"
21 | },
22 | "autoload": {
23 | "exclude-from-classmap": [
24 | "**/Database/Migrations/**"
25 | ]
26 | },
27 | "autoload-dev": {
28 | "psr-4": {
29 | "Tests\\Support\\": "tests/_support"
30 | }
31 | },
32 | "config": {
33 | "optimize-autoloader": true,
34 | "preferred-install": "dist",
35 | "sort-packages": true
36 | },
37 | "scripts": {
38 | "test": "phpunit"
39 | },
40 | "minimum-stability": "dev",
41 | "prefer-stable": true,
42 | "repositories": [
43 | {
44 | "type": "vcs",
45 | "url": "https://github.com/codeigniter4/codeigniter4"
46 | }
47 | ]
48 | }
49 |
--------------------------------------------------------------------------------
/env:
--------------------------------------------------------------------------------
1 | #--------------------------------------------------------------------
2 | # Example Environment Configuration file
3 | #
4 | # This file can be used as a starting point for your own
5 | # custom .env files, and contains most of the possible settings
6 | # available in a default install.
7 | #
8 | # By default, all of the settings are commented out. If you want
9 | # to override the setting, you must un-comment it by removing the '#'
10 | # at the beginning of the line.
11 | #--------------------------------------------------------------------
12 |
13 | #--------------------------------------------------------------------
14 | # ENVIRONMENT
15 | #--------------------------------------------------------------------
16 |
17 | CI_ENVIRONMENT = development
18 |
19 | #--------------------------------------------------------------------
20 | # APP
21 | #--------------------------------------------------------------------
22 |
23 | # app.baseURL = ''
24 | # If you have trouble with `.`, you could also use `_`.
25 | # app_baseURL = ''
26 | # app.forceGlobalSecureRequests = false
27 | # app.CSPEnabled = false
28 |
29 | #--------------------------------------------------------------------
30 | # DATABASE
31 | #--------------------------------------------------------------------
32 |
33 | database.default.hostname = localhost
34 | database.default.database = ci4adminlte
35 | database.default.username = root
36 | database.default.password =
37 | database.default.DBDriver = MySQLi
38 | # database.default.DBPrefix =
39 | database.default.port = 3306
40 |
41 | # database.tests.hostname = localhost
42 | # database.tests.database = ci4_test
43 | # database.tests.username = root
44 | # database.tests.password = root
45 | # database.tests.DBDriver = MySQLi
46 | # database.tests.DBPrefix =
47 | # database.tests.port = 3306
48 |
49 | #--------------------------------------------------------------------
50 | # CONTENT SECURITY POLICY
51 | #--------------------------------------------------------------------
52 |
53 | # contentsecuritypolicy.reportOnly = false
54 | # contentsecuritypolicy.defaultSrc = 'none'
55 | # contentsecuritypolicy.scriptSrc = 'self'
56 | # contentsecuritypolicy.styleSrc = 'self'
57 | # contentsecuritypolicy.imageSrc = 'self'
58 | # contentsecuritypolicy.baseURI = null
59 | # contentsecuritypolicy.childSrc = null
60 | # contentsecuritypolicy.connectSrc = 'self'
61 | # contentsecuritypolicy.fontSrc = null
62 | # contentsecuritypolicy.formAction = null
63 | # contentsecuritypolicy.frameAncestors = null
64 | # contentsecuritypolicy.frameSrc = null
65 | # contentsecuritypolicy.mediaSrc = null
66 | # contentsecuritypolicy.objectSrc = null
67 | # contentsecuritypolicy.pluginTypes = null
68 | # contentsecuritypolicy.reportURI = null
69 | # contentsecuritypolicy.sandbox = false
70 | # contentsecuritypolicy.upgradeInsecureRequests = false
71 | # contentsecuritypolicy.styleNonceTag = '{csp-style-nonce}'
72 | # contentsecuritypolicy.scriptNonceTag = '{csp-script-nonce}'
73 | # contentsecuritypolicy.autoNonce = true
74 |
75 | #--------------------------------------------------------------------
76 | # COOKIE
77 | #--------------------------------------------------------------------
78 |
79 | # cookie.prefix = ''
80 | # cookie.expires = 0
81 | # cookie.path = '/'
82 | # cookie.domain = ''
83 | # cookie.secure = false
84 | # cookie.httponly = false
85 | # cookie.samesite = 'Lax'
86 | # cookie.raw = false
87 |
88 | #--------------------------------------------------------------------
89 | # ENCRYPTION
90 | #--------------------------------------------------------------------
91 |
92 | # encryption.key =
93 | # encryption.driver = OpenSSL
94 | # encryption.blockSize = 16
95 | # encryption.digest = SHA512
96 |
97 | #--------------------------------------------------------------------
98 | # HONEYPOT
99 | #--------------------------------------------------------------------
100 |
101 | # honeypot.hidden = 'true'
102 | # honeypot.label = 'Fill This Field'
103 | # honeypot.name = 'honeypot'
104 | # honeypot.template = 'Directory access is forbidden.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/writable/debugbar/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skuadron45/ci4adminlte/fa943c5d28966bed072a9002cbab0410a88fa94f/writable/debugbar/.gitkeep
--------------------------------------------------------------------------------
/writable/logs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Directory access is forbidden.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/writable/session/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Directory access is forbidden.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/writable/uploads/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Directory access is forbidden.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------