38 Commits

Author SHA1 Message Date
Thomas Meschke
0d277665e6
replace -1 with E_ALL in error_reporting calls 2023-11-14 11:24:56 +01:00
kenjis
db612fab7c
refactor: move definition of ENVIRONMENT to index.php/spark
For Config caching.
2023-08-16 14:24:00 +09:00
kenjis
5901d10c29
Merge remote-tracking branch 'upstream/develop' into 4.3 2022-08-04 09:15:31 +09: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
Andrey Pyzhikov
775fa7d4e3
Extracting the call handler for Spark commands from application. 2022-06-17 00:41:42 +08: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
788072724e
refactor: move error reporting config up 2022-05-17 15:05:30 +09:00
kenjis
1f6761b96c
refactor: move SAPI check up 2022-05-17 15:05:29 +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
John Paul E. Balandan, CPA
d0c7ec6c0e
Permit use of latest php-cs-fixer v3.6 2022-02-09 22:19:04 +08:00
John Paul E. Balandan, CPA
6524cccbd2
Master language constructs shall be used instead of aliases. 2021-06-19 01:34:44 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
7b37453fcc
Enable blank_line_before_statement fixer 2021-06-08 01:26:32 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
Abdul Malik Ikhsan
f92665b3e2
Use variable for Config/Paths config to reduce repetitive definition 2021-05-26 17:08:40 +07:00
MGatner
85fd51fa76
Add no-header to spark 2021-05-09 20:16:06 +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
Abdul Malik Ikhsan
53e300dab0
Fix minPHPVersion in spark
Fixes #4213
2021-02-02 19:15:33 +07:00
EnixApp
c97b80c0df
spark: validate PHP version 2020-12-12 22:00:09 +07:00
John Paul E. Balandan, CPA
cef371e0a6
Update spark 2020-08-26 02:10:30 +08:00
Abdul Malik Ikhsan
105249cd0a
use DIRECTORY_SEPARATOR to replace / in FCPATH 2020-08-23 20:52:41 +07:00
Abdul Malik Ikhsan
968765d682
apply conditional realpath 2020-08-23 20:34:49 +07:00
Abdul Malik Ikhsan
e36605e4be
ensure add realpath() in spark 2020-08-23 14:50:41 +07:00
Abdul Malik Ikhsan
7073edbee6
using strpos instead of substr when possible 2020-07-12 16:02:12 +07:00
MGatner
4807590b13
Spark exit for error codes 2019-08-27 14:17:00 -04:00
Jim Parry
37110d53e1
Update docs - managing apps 2019-01-02 19:11:55 -08:00
Natan Felles
95193c5f61
Use app instead of application 2018-12-07 18:03:40 -02:00
Natan Felles
b85a5aae5d
Use Absolute Paths 2018-12-03 17:31:31 -02:00
Lonnie Ezell
2047b5a1f5
Don't run filters when using spark. Closes #1519 2018-11-22 22:49:08 -06:00
Natan Felles
b597db5cee
phpcbf: fix all at once 2018-11-10 02:58:52 -02:00
Harjito
b82c0f4bae
Change chdir('public') to chdir($public) 2018-10-10 10:52:23 +07:00
Lonnie Ezell
87a8d3e684
Removed extension from cli scripts and renamed ci.php to spark. Fixes #633 2017-08-27 23:26:07 -05:00