diff --git a/app/helpers/database.php b/app/includes/database.php similarity index 100% rename from app/helpers/database.php rename to app/includes/database.php diff --git a/app/helpers/errors.php b/app/includes/errors.php similarity index 100% rename from app/helpers/errors.php rename to app/includes/errors.php diff --git a/app/includes/messages.php b/app/includes/messages.php new file mode 100644 index 0000000..58b95d5 --- /dev/null +++ b/app/includes/messages.php @@ -0,0 +1,17 @@ +getServerStatus($server_host, $server_port, $server_endpoint); if (!$server_status) { $error = 'The Jilo Server is not running. Some data may be old and incorrect.'; + Messages::get('SECURITY', 'RATE_LIMIT_INFO'); + Messages::render('SECURITY', 'RATE_LIMIT_INFO'); } }