summaryrefslogtreecommitdiff
path: root/public/app/config/setup_framework.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-17 18:43:07 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-17 18:43:07 +0300
commitd827d5345f778bb9a481e916666c540801108d18 (patch)
treee65a311623a1bb6f54ba3808d0f3e6bd4257a327 /public/app/config/setup_framework.php
parentc870b0f4bb688d58575c700f523972bd5cf1be55 (diff)
downloadgyraf1gov-d827d5345f778bb9a481e916666c540801108d18.tar.gz
gyraf1gov-d827d5345f778bb9a481e916666c540801108d18.tar.bz2
gyraf1gov-d827d5345f778bb9a481e916666c540801108d18.zip
framework documenting and cleaning
Diffstat (limited to 'public/app/config/setup_framework.php')
-rw-r--r--public/app/config/setup_framework.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/public/app/config/setup_framework.php b/public/app/config/setup_framework.php
index 384a643..0198e10 100644
--- a/public/app/config/setup_framework.php
+++ b/public/app/config/setup_framework.php
@@ -424,7 +424,8 @@ define('MEDIA_STORAGE_ROOT', APP_ROOT.'/storage/uploads/'); // Media files ro
*
* Anom suggests:
* + Common Content Types, and
- * + Proxy flags
+ * + Proxy flags
+ * + Benchmark report formats
*
* -----------------------------------------------------------------------------
*/
@@ -470,6 +471,19 @@ define('PROXY_DO_NOT_CACHE', 4); // do not cache result
+/** BENCHMARK REPORT TYPES
+ * -----------------------------------------------------------------------------
+ */
+
+define('BENCH_REPORT_ARRAY', 1); // repost as array
+define('BENCH_REPORT_JSON' , 2); // report as json oblject
+define('BENCH_REPORT_HTML' , 3); // report as HTML code
+define('BENCH_REPORT_CODE' , 4); // report as CODE/text
+define('BENCH_REPORT_COMMENT' , 5); // report as HTML comment
+
+
+
+
/** need even more constants? //////////////////////////////////////////////////
* -----------------------------------------------------------------------------
*
@@ -478,4 +492,5 @@ define('PROXY_DO_NOT_CACHE', 4); // do not cache result
*
* -----------------------------------------------------------------------------
*/
-require_once WEB_ROOT.'/app/config/setup_application.php';
+
+ require_once WEB_ROOT.'/app/config/setup_application.php';