Benjamin Renard
dbf5b0a54c
Make Db class static as other classes
2024-02-02 18:19:38 +01:00
Benjamin Renard
3abd2a328b
Introduce new pre-commit hooks and code cleaning
2024-01-23 19:23:10 +01:00
Benjamin Renard
5741dbb604
I18n: add extract_messages_excluded_paths parameter
2023-11-22 15:03:37 +01:00
Benjamin Renard
8c108d0ebb
Properly declare & handle functions/methods that never return (exit/die inside) and add Cli::fatal_error() helper method
2023-07-26 17:02:28 +02:00
Benjamin Renard
a274f04a1a
Add simple time tracking system to permit to display page computing time
2023-03-22 18:27:07 +01:00
Benjamin Renard
455ec45c3b
App: fix handling app's options when substituting variable reference in option value
2023-03-03 10:36:08 +01:00
Benjamin Renard
5ca3208c91
Set upload_tmp_directory & upload_max_filesize INI parameters after log initialized
2023-03-02 10:53:22 +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
1e59f1b815
Config: add ini_set() helper method
2023-03-01 14:17:15 +01:00
Benjamin Renard
b679783fb8
Add App::keys() method
2023-03-01 11:23:48 +01:00
Benjamin Renard
f16f433326
Url::add_url_handler(): accept null as $pattern to match the root on the application
2023-02-28 19:07:58 +01:00
Benjamin Renard
4f46c38643
Add possibility to define config parameters default value in app's options
2023-02-27 17:52:51 +01:00
Benjamin Renard
7e8b6ee5f2
App::isset(): remove unused parameter $config
2023-02-27 17:44:19 +01:00
Benjamin Renard
c346252f55
App: add upload_max_filesize config parameter to set upload_max_filesize & upload_max_filesize
2023-02-27 16:15:47 +01:00
Benjamin Renard
d461b28b7d
App & Config: add isset() and set() methods
2023-02-27 16:15:30 +01:00
02b0bbcfad
Add CLI command to initialize a new project
2023-02-26 23:53:16 +01:00
610cdb0f7c
Add authentication support
2023-02-25 05:02:27 +01:00
73dc860972
I18n: Split translated messages of core and app in discting gettext domains
2023-02-14 01:21:52 +01:00
317cb30cb3
Tpl: Add stuff to have multiple templates directories with priority
2023-02-13 00:42:37 +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