Archived
1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
d2ef7f2c52 app/library/Services.php: load menu config from file. 2018-06-18 22:22:50 +02:00
a8a448331e app/library/Services.php: load router settings from config file. 2018-06-18 22:16:03 +02:00
ca90ec30fb config: drop the "conf" prefix for config files. 2018-06-18 22:12:55 +02:00
005f1e3292 app/library/Services.php: make config service abit more generic (loading any number of files). 2018-06-18 20:21:31 +02:00
9dd712045a app/library/Services.php: adding debugger service. 2018-06-18 20:03:21 +02:00
e85d935734 Create a Bootstrap class and move bootstrap code from public/index.php 2018-06-18 17:42:30 +02:00
b3254e1f6c app/library/Services.php: database: no need for $di in closure. 2018-06-18 17:39:42 +02:00
f9050181d0 app/library/Bootstrap.php: revove "Application" and add "Services" class with the services definitions.
Had some wierd problem with closures an $this when being defined in one class and used in another
(defined in Application, used in Phalcon\Di\FactoryDefault).

So we move all of this to "Services" class that directly extends FactoryDefault DI.
And therefore, we don't need a Application class anymore.
2018-06-18 16:46:40 +02:00
Renamed from app/library/Application.php (Browse further)