summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-16 02:48:50 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-16 02:48:50 +0300
commitb49941608a8d37ca6bedf2529a703876530124d4 (patch)
treeecdef8a36a36f495fe996606729bb1db3023d156 /public/index.php
parent59cd40235bf4746a119421609b25d7e9b7f65f83 (diff)
downloadgyraf1gov-b49941608a8d37ca6bedf2529a703876530124d4.tar.gz
gyraf1gov-b49941608a8d37ca6bedf2529a703876530124d4.tar.bz2
gyraf1gov-b49941608a8d37ca6bedf2529a703876530124d4.zip
anom refactoring; remove noisy depricated files
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/public/index.php b/public/index.php
index 5c84e97..9dea217 100644
--- a/public/index.php
+++ b/public/index.php
@@ -2,23 +2,26 @@
/** anom
* ANOther MVC framefork ///////////////////////////////////////////////////////
* -----------------------------------------------------------------------------
+ *
* This is where the whole thing stats.
* Let's keep it simple and clear
*
- * anom is an Object-Oriented MVC php-framework.
- * It is super-light, fast and extensible.
- * Contains almost anything you need to start
- * and optimize a server-based web-application.
+ * anom is an(other) Object-Oriented MVC php-framework.
+ * It is a super-light, fast and extensible development
+ * tool.
+ *
+ * Contains implementations of almost anything you need
+ * to start and optimize a server-based web-application.
* And as long as you write code using secure practices,
- * it will be secure.
+ * it shall be secure.
*
* Copyleft: George Halkiadakis
* Licence: BSD
+ *
* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
* -----------------------------------------------------------------------------
*/
-
// specify base paths
// -----------------------------------------------------------------------------
@@ -35,7 +38,7 @@ define('WEB_ROOT', APP_ROOT.'/'.$pub); // root of public directory
// contants and constant arrays
// -----------------------------------------------------------------------------
-require_once WEB_ROOT.'/app/config/setup-framework.php'; // application constants
+require_once WEB_ROOT.'/app/config/setup_framework.php'; // application constants
@@ -62,7 +65,7 @@ if (!PRODUCTION) Benchmark::add_spot('start'); // benchmark request's life
// finalize framework; handle credentials; setup app-engine; insert routes
// -----------------------------------------------------------------------------
-require_once INIT_APPLICATION;
+require_once APPLICATION_BOOTSTRAP;
// Application is ready!