includes/constants.php
changeset 688 f2a824ce5f18
parent 685 17ebe24cdf85
child 692 78473351a6c9
equal deleted inserted replaced
687:ea43ac1ff2ee 688:f2a824ce5f18
    65 // Page group types
    65 // Page group types
    66 define('PAGE_GRP_CATLINK', 1);
    66 define('PAGE_GRP_CATLINK', 1);
    67 define('PAGE_GRP_TAGGED', 2);
    67 define('PAGE_GRP_TAGGED', 2);
    68 define('PAGE_GRP_NORMAL', 3);
    68 define('PAGE_GRP_NORMAL', 3);
    69 define('PAGE_GRP_REGEX', 4);
    69 define('PAGE_GRP_REGEX', 4);
       
    70 
       
    71 // Session key types
       
    72 // Short keys last for getConfig('session_short_time', '720'); in minutes and auto-renew.
       
    73 // Long keys last for getConfig('session_remember_time', '30'); in days and do NOT auto-renew.
       
    74 // Elevated keys have a hard-coded 15-minute limit for security reasons and because
       
    75 // that's how Enano's done it since before beta 1.
       
    76 define('SK_SHORT', 0);
       
    77 define('SK_LONG', 1);
       
    78 define('SK_ELEV', 2);
    70 
    79 
    71 // Identifier for the default pseudo-language
    80 // Identifier for the default pseudo-language
    72 define('LANG_DEFAULT', 0);
    81 define('LANG_DEFAULT', 0);
    73 
    82 
    74 // Image types
    83 // Image types