Benjamin Renard
6faff353d3
Log: try to properly handle log message before initialization
2023-03-03 10:37:56 +01:00
Benjamin Renard
e27c009be8
Log: fix typo when getting CLI log file path
2023-03-03 10:36:43 +01:00
Benjamin Renard
83f1445799
Make core libs set their default config values in App
...
This permit to homogenize the method to store it and permit an access to
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all
are taken from config.
2023-03-01 16:22:11 +01:00
Benjamin Renard
21b425e32b
Log: when PHP cli-server is running, log on console
2023-03-01 11:55:46 +01:00
Benjamin Renard
df4df3f746
Some adjustments to make App properly initializable in phpstan context
2023-03-01 11:06:22 +01:00
6aa4113310
Log: fix logging the right IP address when install behind a reverse proxy
2023-02-27 23:51:12 +01:00
bb62e5b53b
Log: log an error when fail to open log file and add error_log() fallback
2023-02-27 23:51:12 +01:00
Benjamin Renard
de0763c5f6
Log: add filepath() method
2023-02-27 18:09:15 +01:00
33fcd6a92c
User: add __toString() magic method
2023-02-25 14:49:39 +01:00
610cdb0f7c
Add authentication support
2023-02-25 05:02:27 +01:00
Benjamin Renard
f13e364d06
Log: fix logging the right exception backtrace in all cases
2023-02-23 11:58:19 +01:00
8ff2fe663d
Fix PHP 7.3 compatibility
2023-02-16 01:53:08 +01:00
4f47dc056d
Tpl: Add stuff to handle static files
...
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
f2edf4910a
Switch to YAML configuration file, add Config & App classes in EesyPHP namespace
...
App initialization is now handle by App::init() method and all
configuration information is now retreive using Config::get() method.
2023-02-08 02:27:15 +01:00
0eb2c543f1
Remove useless "use" statments in EesyPHP namespace
2023-01-31 01:00:56 +01:00
c8659ea46f
Move CLI stuff in EesyPHP namespace
2023-01-30 00:11:26 +01:00
f8fa2f9204
Log :: exception(): clean extra args declaration
2023-01-29 19:18:52 +01:00
a303f188f3
Move Sentry stuff in EesyPHP namespace
2023-01-29 18:17:50 +01:00
3b45768967
Move functions and logging stuff in EesyPHP namespace
2023-01-29 18:04:49 +01:00