Commit graph

48 commits

Author SHA1 Message Date
Kijin Sung
6cc9511243 Simplify check for mbstring #2507 2025-03-05 18:53:50 +09:00
Kijin Sung
0748d0ebd5 Load user config after system config, providing an opportunity to manipulate system config before Rhymix takes any other action 2024-12-13 01:21:36 +09:00
Kijin Sung
d5796b6f9d Fix #2273 change minimum PHP version to 7.4 2024-11-18 23:57:23 +09:00
Kijin Sung
3a53e173bb Change default error_reporting level to E_ALL with no exceptions 2024-01-04 14:46:15 +09:00
Kijin Sung
dbd92c191c Move legacy class list to legacy.php, where it belongs 2024-01-04 01:05:08 +09:00
Kijin Sung
7643f339b9 Fix potential null issue in autoload.php 2023-10-07 13:29:10 +09:00
Kijin Sung
58d6d51e9f Remove unnecessary condition in autoloader for custom namespaces 2023-08-12 21:55:20 +09:00
Kijin Sung
a7954506f6 Use associative array to store custom namespaces 2023-08-12 21:53:52 +09:00
Kijin Sung
5823253d60 Optimize order of conditions in autoloader 2023-08-12 01:18:59 +09:00
Kijin Sung
32832d1ab2 Support custom namespaces in autoloader 2023-08-11 02:05:23 +09:00
Kijin Sung
9aec92fbfd
Merge pull request #2069 from kijin/pr/whitespace
.editorconfig에서 trim_trailing_whitespace = true로 변경
2023-02-05 20:38:49 +09:00
Kijin Sung
8c879da8f8 Check PHP version using integer constant to be more efficient 2023-01-31 00:01:06 +09:00
Kijin Sung
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +09:00
Kijin Sung
b8351bf3c8 Fix #2063 incorrect path to cacert.pem 2023-01-12 00:18:25 +09:00
Kijin Sung
f74976508e Let's see some deprecation warnings now 2022-12-27 22:44:45 +09:00
Kijin Sung
5fff6b6eab Move all composer files inside the common directory
- 2022년 3월 개발팀 결정사항 적용
- 모듈 등 서드파티 자료 개발시 composer를 사용하면 상위 경로에 있는 코어의
  composer.json을 수정하고, 코어의 vendor 디렉토리를 건드리는 것이 기본값임
- 이를 방지하기 위해 코어의 composer.json과 vendor를 common 디렉토리 안으로
  이동하여, 모듈 경로에서 상위 폴더로 인식하지 않도록 함
2022-12-26 16:33:32 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Kijin Sung
60fd7d7cf2 Move cacert.pem loader to autoload.php 2022-12-26 02:36:44 +09:00
Kijin Sung
9cb1e3e3fc Preload all classes that are referenced in autoload.php 2022-12-26 02:34:21 +09:00
Kijin Sung
a07307d343 Change autoloader to support case-sensitive class files + fix lang path for namespaced modules 2022-12-26 02:30:59 +09:00
Kijin Sung
735d3dd97c Minimum version is actually PHP 7.2.5 because of dependencies 2022-12-26 00:51:28 +09:00
Kijin Sung
28323f1bb8 Check PHP version in common/autoload.php 2022-12-23 02:04:25 +09:00
Kijin Sung
0fafb1cf6b #2025 좀더 근본적인 해결: 모듈 autoload시 lang파일 자동 로딩하도록 변경 2022-12-15 22:52:00 +09:00
Kijin Sung
77b522249d Simplify autoloader logic 2021-03-08 16:51:39 +09:00
Kijin Sung
2cdf9d0e2d Adjust loading priority of modules vs. plugins 2021-01-21 00:44:35 +09:00
Kijin Sung
0079fc7b38 Remove condition not needed in PHP 7 2021-01-20 00:55:57 +09:00
Kijin Sung
3fd7bf16c3 Remove unnecessary BMP loading library (use imagebmp() instead) 2021-01-07 23:05:41 +09:00
Kijin Sung
a405b91e42 Add RawDisplayHandler and fix RSS/Atom not producing the correct headers 2020-12-13 22:06:16 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
ad5169bc7a Remove legacy DB classes and XML query parser classes 2020-06-30 12:20:12 +09:00
Kijin Sung
6070707941 Remove index hint classes for MS SQL and Cubrid 2018-06-30 15:31:00 +09:00
Kijin Sung
f97a16e7e8 Reorder includes in autoload.php
- 사용자 환경설정(config.user.inc.php)을 로딩하기 전에 autoload 완료
- Object 클래스 로딩 위치 변경
2017-12-04 20:53:42 +09:00
Kijin Sung
6f35f5bafc Fix strict count() behavior in PHP 7.2 2017-12-01 01:42:03 +09:00
Kijin Sung
1a81fd43f3 Convert Object class to BaseObject in core classes 2017-11-27 22:34:28 +09:00
Kijin Sung
701f4b5e07 Prevent loading the autoloder more than once 2017-03-06 14:11:30 +09:00
Kijin Sung
89ae581e55 Update admin module to use new Cache system 2016-04-17 15:01:42 +09:00
Kijin Sung
6d5480ecfb Add Cache class and CacheInterface for drivers 2016-04-17 00:36:25 +09:00
Kijin Sung
77f44e57a5 Use autoload to handle 'Item' classes in modules 2016-04-16 17:25:28 +09:00
Kijin Sung
0e57ddfb4e Fix E_STRICT errors being displayed in PHP 5.3 2016-02-17 11:44:32 +09:00
Kijin Sung
6b4d69bcc2 Remove old debug constants 2016-02-13 11:19:13 +09:00
Kijin Sung
664695553b Add default error, exception, and shutdown handlers 2016-02-12 14:14:55 +09:00
Kijin Sung
66d8cbfae7 Set the default timezone as early as possible 2016-02-05 10:36:10 +09:00
Kijin Sung
89db7c7c7c Load system configuration before Context::init() 2016-02-04 20:41:53 +09:00
Kijin Sung
30246059eb Remove Crypto class (was added by @kijin but not used) 2016-01-22 15:02:33 +09:00
Kijin Sung
8e284db3b9 Add more libraries 2016-01-20 14:15:59 +09:00
Kijin Sung
f38501fc25 Re-enable XE compatible debug constants 2016-01-19 14:20:21 +09:00
Kijin Sung
08e7f7e32a Fix unit tests and misuse of global scope 2016-01-16 14:05:51 +09:00
Kijin Sung
f9dabb06f4 Move the autoloader, startup script, and functions to 'common' folder 2016-01-16 11:15:28 +09:00