diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-26 04:50:46 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-26 04:50:46 +0300 |
| commit | 21fedb3af692b12c1f0aa266bbf788b01f2cbe4c (patch) | |
| tree | e600e16a2894407eba840e7694a4f290669e31d8 /core/config/init.php | |
| parent | d90b51ce89bcc693e3014b313fe8e3b975031adf (diff) | |
| download | classroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.tar.gz classroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.tar.bz2 classroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.zip | |
auth tests
Diffstat (limited to 'core/config/init.php')
| -rw-r--r-- | core/config/init.php | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/core/config/init.php b/core/config/init.php index b035faf..2db2503 100644 --- a/core/config/init.php +++ b/core/config/init.php @@ -16,19 +16,16 @@ * anything else can be injected on-demand */ -// Load authorization parametres -// ----------------------------------------------------------------------------- -require_once CREDENTIALS; - // setup error-handliing // ----------------------------------------------------------------------------- require_once '../core/helpers/error_handling.php'; -// Load rendering sub-system -// ----------------------------------------------------------------------------- -require_once RENDERING_SYSTEM; +// depricated: +/// // Load rendering sub-system +/// // ----------------------------------------------------------------------------- +/// require_once RENDERING_SYSTEM; // Setup Application Engiine @@ -43,16 +40,12 @@ Registry::vow('database', function() { return new Database(); }); // Attach Cache to the Resitry as a vow // (CACHE_DRIVER) acts as driver-wrapper +// --- -- -- - - - Registry::vow('cache', function() { return new (CACHE_DRIVER)(); }); // CHECK: if strict mode has any benefits: // Registry::vow('cache', function():Cache_interface { return new (CACHE_DRIVER)(); }); -// Start session -Registry::set('session', new DefaultSession()); - - - // Initialize THE REQUEST // ----------------------------------------------------------------------------- Registry::set('REQUEST', new Request()); |
