Index: branches/RC/core/kernel/constants.php =================================================================== diff -u -N -r10857 -r10887 --- branches/RC/core/kernel/constants.php (.../constants.php) (revision 10857) +++ branches/RC/core/kernel/constants.php (.../constants.php) (revision 10887) @@ -82,5 +82,26 @@ define('EDITING_MODE_CMS', 1); define('EDITING_MODE_LAYOUT', 2); define('EDITING_MODE_DESIGN', 3); + + // agent types + define('AGENT_TYPE_USER', 1); + define('AGENT_TYPE_SYSTEM', 2); + // agent last run statuses + define('AGENT_LAST_RUN_SUCCEDED', 1); + define('AGENT_LAST_RUN_FAILED', 0); + define('AGENT_LAST_RUN_RUNNING', 2); + + // link validation constants + define('LINK_VALIDATION_NOT_VALIDATED', 0); + define('LINK_VALIDATION_VALID', 1); + define('LINK_VALIDATION_INVALID', 2); + + /** + * Validate this much links on each progress bar step + * + */ + define('LINK_VALIDATION_PER_PAGE', 5); // in links + define('LINK_VALIDATION_TIMEOUT', 10); // in seconds + ?> \ No newline at end of file