From 47cbb529f5723b246125ae083a193e11481b89ef Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Sun, 12 Mar 2023 07:01:30 +0200 Subject: initializing classroom structure using anom framework --- config/anom_settings.php | 169 +++++++++++++++++++++++++++++++++++++++++++++++ config/constants.php | 28 ++++++++ config/credentials.php | 126 +++++++++++++++++++++++++++++++++++ config/init.php | 76 +++++++++++++++++++++ 4 files changed, 399 insertions(+) create mode 100644 config/anom_settings.php create mode 100644 config/constants.php create mode 100644 config/credentials.php create mode 100644 config/init.php (limited to 'config') diff --git a/config/anom_settings.php b/config/anom_settings.php new file mode 100644 index 0000000..882145d --- /dev/null +++ b/config/anom_settings.php @@ -0,0 +1,169 @@ + '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 diff --git a/config/credentials.php b/config/credentials.php new file mode 100644 index 0000000..43fa0a4 --- /dev/null +++ b/config/credentials.php @@ -0,0 +1,126 @@ +