PageRenderTime 53ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/include/misc/define.inc.php

https://bitbucket.org/dst17/cdm2011
PHP | 31 lines | 29 code | 1 blank | 1 comment | 0 complexity | 79263fa89da52d7e0ed562518c2adfd4 MD5 | raw file
  1. <?
  2. define('SHOW_STATUS', 0);
  3. define('GOOD_RESULT', 1);
  4. define('HIDE_STATUS', 2);
  5. define('EXACT_SCORE', 3);
  6. /* CODE ERROR */
  7. define('FORGOT_IDS_OK',-1);
  8. define('USER_UNKNOWN',-2);
  9. define('PASSWORD_MISMATCH',-3);
  10. define('INCORRECT_PASSWORD',-4);
  11. define('CHANGE_PASSWORD_OK',-5);
  12. define('EMAIL_UNKNOWN',-6);
  13. define('FORGOT_IDS_KO',-7);
  14. define('GROUP_ALREADY_EXISTS',-8);
  15. define('CREATE_GROUP_OK',-9);
  16. define('INCORRECT_EMAIL',-10);
  17. define('LOGIN_ALREADY_EXISTS',-11);
  18. define('FIELDS_EMPTY',-12);
  19. define('REGISTER_OK',-13);
  20. define('JOIN_GROUP_OK', -14);
  21. define('JOIN_GROUP_FORBIDDEN', -15);
  22. define('INVITE_WITHOUT_GROUP',-17);
  23. define('SEND_INVITATIONS_OK',-18);
  24. define('SEND_INVITATIONS_ERROR',-19);
  25. define('CHANGE_ACCOUNT_OK',-21);
  26. define('EMAIL_ALREADY_EXISTS',-22);
  27. define('USERNAME_ALREADY_EXISTS',-24);
  28. define('GROUP_UNKNOWN',-25);
  29. define('UNKNOWN_ERROR',-99);
  30. ?>