Dashboard sipadu mbip
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

constants.php 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /************************************************/
  3. /* Database settings */
  4. /************************************************/
  5. define("DB_USER", "username"); // your username
  6. define("DB_SERVER", "host"); // your host
  7. define("DB_PASSWORD", "password"); // your password
  8. define("DB_DATABASE", "database"); // your database
  9. define("DB_TABLE", "table"); // your database table
  10. /************************************************/
  11. /* end Database settings */
  12. /************************************************/
  13. /************************************************/
  14. /* Dictionary */
  15. /************************************************/
  16. /* Message */
  17. define("SUCCESS_MESSAGE", "Message was sent successfully");
  18. define("ERROR_MESSAGE", "Oops! The following errors occurred:");
  19. define("DEBUG_MESSAGE", "Oops! The following debug errors occurred:");
  20. define("DEBUG_GENERAL_MESSAGE", "Oops! Debug errors occurred. Enable debug mode for php code");
  21. define("DEBUG_CONFIG_MESSAGE", "Oops! The following config errors occurred:");
  22. /* PDF and CSV */
  23. define("CSV_ERROR_MESSAGE", "CSV file wasn't created. Check CSV settings in the config.php");
  24. define("PDF_ERROR_MESSAGE", "PDF file wasn't created. Check PDF settings in the config.php");
  25. /* PHPMailer */
  26. define("MAILER_ERROR_MESSAGE", "Mailer Error: ");
  27. define("AUTORESPONSE_ERROR_MESSAGE", "Autoresponse Error: ");
  28. /* Form file */
  29. define("FILE_DEFAULT_NAME", "No files");
  30. define("FILE_ERROR_MESSAGE", "Upload a file through the form");
  31. /* Database */
  32. define("PDO_ERROR_MESSAGE", "PDO error database query: ");
  33. define("MYSQL_QUERY_ERROR_MESSAGE", "MySQLi error database query: ");
  34. define("MYSQL_CONNECT_ERROR_MESSAGE", "MySQLi error connecting to database ");
  35. /* Config */
  36. define("CONFIG_NOT_FOUND_ERROR_MESSAGE", "User settings: 'rules' array and/or 'messages' array are not found");
  37. define("CONFIG_RULES_MESSAGES_ERROR_MESSAGE", "User settings: field names in 'rules' and 'messages' are mismatched");
  38. define("CONFIG_UNKNOWN_RULE_ERROR_MESSAGE", "User settings -> 'rules' array -> Unknown validation rule: ");
  39. define("CONFIG_NOT_ALLOWED_VALUE_ERROR_MESSAGE", "User settings -> 'rules' array -> Not allowed value -> ");
  40. /* Directory */
  41. define("DEFAULT_DIRECTORY", "form_files");
  42. define("ROOT", dirname(__FILE__).DIRECTORY_SEPARATOR."..");
  43. /* Google reCaptcha */
  44. define("RECAPTCHA_SERVER_SECRET_KEY", "your_secret_captcha_key");
  45. /************************************************/
  46. /* end Dictionary */
  47. /************************************************/
  48. ?>