includes/constants.php
changeset 825 9d5c04c1414f
parent 801 eb8b23f11744
child 832 7152ca0a0ce9
equal deleted inserted replaced
817:880c4b7eb658 825:9d5c04c1414f
    64 // Page group types
    64 // Page group types
    65 define('PAGE_GRP_CATLINK', 1);
    65 define('PAGE_GRP_CATLINK', 1);
    66 define('PAGE_GRP_TAGGED', 2);
    66 define('PAGE_GRP_TAGGED', 2);
    67 define('PAGE_GRP_NORMAL', 3);
    67 define('PAGE_GRP_NORMAL', 3);
    68 define('PAGE_GRP_REGEX', 4);
    68 define('PAGE_GRP_REGEX', 4);
       
    69 
       
    70 // Comment types
       
    71 define('COMMENT_APPROVED', 1);
       
    72 define('COMMENT_UNAPPROVED', 0);
       
    73 define('COMMENT_SPAM', 2);
    69 
    74 
    70 // Session key types
    75 // Session key types
    71 // Short keys last for getConfig('session_short_time', '720'); in minutes and auto-renew.
    76 // Short keys last for getConfig('session_short_time', '720'); in minutes and auto-renew.
    72 // Long keys last for getConfig('session_remember_time', '30'); in days and do NOT auto-renew.
    77 // Long keys last for getConfig('session_remember_time', '30'); in days and do NOT auto-renew.
    73 // Elevated keys have a hard-coded 15-minute limit for security reasons and because
    78 // Elevated keys have a hard-coded 15-minute limit for security reasons and because