summaryrefslogtreecommitdiff
path: root/config/constants.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
commit7076343338ae3439f3c86f01144818abe8c31978 (patch)
tree794abb1e6b8f821091fd095341885496b6dad51d /config/constants.php
parent47cbb529f5723b246125ae083a193e11481b89ef (diff)
downloadclassroom-7076343338ae3439f3c86f01144818abe8c31978.tar.gz
classroom-7076343338ae3439f3c86f01144818abe8c31978.tar.bz2
classroom-7076343338ae3439f3c86f01144818abe8c31978.zip
add container helpers; constuct public directory-tree
Diffstat (limited to 'config/constants.php')
-rw-r--r--config/constants.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/config/constants.php b/config/constants.php
deleted file mode 100644
index d2ecc41..0000000
--- a/config/constants.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/** Constants
- * ---
- */
-
-// COMMON CONTENT TYPES
-// -----------------------------------------------------------------------------
-define('COMMON_CONTENT_TYPES', array(
- 'text' => 'text/html; charset=UTF-8',
- 'html' => 'text/html; charset=UTF-8',
- 'json' => 'application/json; charset=utf-8',
- 'js' => 'application/javascript; charset=utf-8',
- 'css' => 'text/css',
- 'png' => 'image/png',
- 'jpeg' => 'image/jpeg',
- 'webp' => 'image/web'
- )
-);
-
-
-// PROXY_FLAGS
-// -----------------------------------------------------------------------------
-// These options represend altered/non-default behaviour
-// and will be resolved bitwise, so use powers of 2
-// -----------------------------------------------------------------------------
-define('PROXY_CACHE_ERRORS', 1); // cache result even if error
-define('PROXY_IGNORE_CACHE', 2); // ignore cache if exist
-define('PROXY_DO_NOT_CACHE', 4); // do not cache result