John Paul E. Balandan, CPA
c3ac0f9483
chore: add more trailing commas in more places ( #9395 )
...
* Apply to parameters
* Apply to array destructuring
* Apply to match
* Apply for arguments
2025-01-13 11:03:02 +08:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5
2024-04-05 16:59:18 +09:00
kenjis
f1d6b1be35
style: fix indentations
...
For consistency.
2024-04-04 10:11:00 +09:00
kenjis
eba1e9ea36
fix: method name case
2024-03-27 06:20:26 +09:00
kenjis
c1ca7b7206
feat: add config Cache::$configCacheEnabled
...
and move code from index.php to Boot class.
2024-03-27 06:20:24 +09:00
kenjis
44583a412e
fix: change HTTP status code from 200 to 503
2024-03-17 10:07:01 +09:00
kenjis
c5191a0893
refactor: remove rtrim()
2024-03-17 08:41:06 +09:00
kenjis
5338b3dbd0
refactor: move code to Boot class
2024-03-17 08:41:05 +09:00
kenjis
16718829d1
refactor: extract Boot class
2024-03-17 08:41:04 +09:00
kenjis
10a60e03bb
fix: index.php and spark do not work
2024-03-15 21:07:56 +09:00
kenjis
ff6a2d5e40
fix: move LOAD ENVIRONMENT BOOTSTRAP to index.php
...
This was in CodeIgniter::initialize(), so it was called only in web.
2024-03-15 21:07:55 +09:00
kenjis
e670df1ed9
refactor: move DEFINE ENVIRONMENT to bootstrap.php
2024-03-15 21:07:53 +09:00
kenjis
c1575909b8
docs: add comment headings
2024-03-15 21:07:53 +09:00
kenjis
4e602a66f3
refactor: move CodeIgniter::bootstrapEnvironment() to bootstrap.php
2024-03-15 21:07:52 +09:00
kenjis
fad1882d52
Change $minPhpVersion to 8.1
2023-10-13 17:25:17 +09:00
kenjis
5771057b81
Change min PHP version to 8.0
2023-09-23 14:06:34 +09:00
kenjis
47af9c0cbd
docs: add Config caching code as comments
2023-08-16 14:24:01 +09:00
kenjis
db612fab7c
refactor: move definition of ENVIRONMENT to index.php/spark
...
For Config caching.
2023-08-16 14:24:00 +09:00
kenjis
7c87f07f4c
refactor: move callExit() to index.php
2023-08-13 11:48:56 +09:00
BennyBPB
cd4fbe1fba
Change current directory only if necessary
2023-06-24 12:06:43 +02:00
kenjis
ddd182034c
docs: fix PhpStorm spelling errors
2023-04-13 17:44:37 +09:00
Stefan Bauer
ea25c9cfd0
remove All from Options All -Indexes
...
Options All -Indexes causes a 500 Internal Server Error.
(Apache on hostpoint.ch / interxion).
Without the -All it works fine.
I'm not sure about all the effects, but I think the -All is already handled in the Apache directive and has not to be in .htaccess
2023-01-11 16:39:38 +01:00
kenjis
6ac3a7bfe4
fix: move PHP version check to index.php/spark
...
If we use new syntax in new PHP version when dropping older PHP version support,
syntax error occurs before the PHP version check.
2022-08-01 16:46:38 +09:00
kenjis
b2ed452f65
refactor: move chdir() up
2022-05-17 15:05:30 +09:00
kenjis
a2a9b6c118
refactor: remove variables
2022-05-17 15:05:30 +09:00
kenjis
e2e94e8f0d
refactor: move DotEnv::load() from system/bootstrap.php
2022-05-17 15:05:29 +09:00
kenjis
b6a27dc512
chore: tweak the files so that their contents are as same as possible.
2022-05-17 15:05:29 +09:00
kenjis
1adabfe043
refactor: remove realpath()
...
No need to use it.
2022-05-17 15:05:29 +09:00
kenjis
f26943cfd8
refactor: move CodeIgniter instantiation from system/bootstrap.php
2022-05-17 15:05:28 +09:00
kenjis
8815745381
refactor: CodeIgniter has context: web, php-cli, spark
...
Make the constant SPARKED deprecated.
Remove is_cli() in CodeIgniter.
2022-02-12 17:08:44 +09:00
Abdul Malik Ikhsan
f92665b3e2
Use variable for Config/Paths config to reduce repetitive definition
2021-05-26 17:08:40 +07:00
MGatner
ffc50239a5
[ci skip] Fix a few spacing issues
2021-05-14 13:56:57 +00:00
Abdul Malik Ikhsan
bd65ddf5e8
move check to CodeIgniter class
2021-03-15 13:12:02 +07:00
Abdul Malik Ikhsan
61a886726f
[Requirement] MCreate CodeIgniter\PhpRequirement::validatePHPVersion() static method to check minimum valid PHP version
2021-03-15 13:12:02 +07:00
MGatner
6986be3f3c
Fix additional ersion reference
2021-01-31 01:03:09 +08:00
Abdul Malik Ikhsan
67fb7cb355
clean up public/index.php : remove unneeded $pathsPath var
2020-10-11 16:11:39 +07:00
John Paul E. Balandan, CPA
8347bb90d5
Index.php optimization
2020-08-26 01:22:28 +08:00
Abdul Malik Ikhsan
968765d682
apply conditional realpath
2020-08-23 20:34:49 +07:00
Abdul Malik Ikhsan
f9fe8cea05
ensure to use realpath() when require bootstrap.php file in index.php
2020-08-11 09:55:10 +07:00
Alexandre "Moutarde" S
73a774500b
Update trailing slash detection
...
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2020-07-20 14:56:12 +02:00
Alexandre "Moutarde" S
95208c9886
Make Redirect trailing slashes redirect with base
...
When using /$1 it doesn't prepend RewriteBase to the uri, so going to /sub/controller/ will redirect to /controller instead of /sub/controller
2020-07-15 10:11:41 +02:00
John Paul E. Balandan, CPA
43749a8e5c
Fix misalignment
2020-07-10 22:15:01 +08:00
John Paul E. Balandan, CPA
a155b4aa13
Update htaccess
2020-07-10 22:10:57 +08:00
Lonnie Ezell
f0e6f60a82
Update htaccess to better handle non ascii characters. Fixes #3089
2020-06-17 22:40:08 -05:00
Abdul Malik Ikhsan
1750188e55
using realpath() for define $pathsPath in index.php
2020-04-06 11:25:13 +07:00
MashinaMashina
b9f6cd80c3
Edit .htaccess
...
When we try open real directory, server add end slash, htaccess removes it, server add shash...
And we get recursive redirectings
2019-11-13 22:52:28 +04:00
Lonnie Ezell
d43001ebdd
Simplify the provided htaccess file with only a couple of security items and the rewrite functionality.
2019-04-24 22:38:46 -05:00
MGatner
92941072bb
Remove section that prevents hotlinking
...
The rewrite rule required a hard-coded domain which developers would need to update or their assets would give 403 errors. Better to allow developers to add this themselves than supply an .htaccess file that doesn't work out-of-the-box.
2019-04-11 13:43:19 -04:00
Atish Amte
3b999d2c50
Update .htaccess for better security and caching
2019-03-30 20:42:14 +05:30
Jim Parry
c724e44449
Merge branch 'develop' into php-7.2
2019-01-18 16:13:29 -08:00