includes/constants.php
changeset 345 4ccdfeee9a11
parent 334 c72b545f1304
child 348 87e08a6e4fec
equal deleted inserted replaced
344:be6c5fdd9203 345:4ccdfeee9a11
    95 define('SIDEBAR_RIGHT', 2);
    95 define('SIDEBAR_RIGHT', 2);
    96 
    96 
    97 define('GENERAL_ERROR', 'General error');
    97 define('GENERAL_ERROR', 'General error');
    98 define('GENERAL_NOTICE', 'Information');
    98 define('GENERAL_NOTICE', 'Information');
    99 define('CRITICAL_ERROR', 'Critical error');
    99 define('CRITICAL_ERROR', 'Critical error');
       
   100 
       
   101 //
       
   102 // Enano versions progress
       
   103 //
       
   104 
       
   105 // These constants are used to perform "at least version X" type logic in plugins. Constants should
       
   106 // be defined as ENANO_ATLEAST_<major version>_<minor version>, and they should match the version of
       
   107 // the Enano API, not any forked version. This is to ensure that plugins know what features to enable
       
   108 // and disable for compatibility with both branches.
       
   109 
       
   110 define('ENANO_ATLEAST_1_0', '');
       
   111 define('ENANO_ATLEAST_1_1', '');
   100 
   112 
   101 // You can un-comment the next line to require database backups to be encrypted using the site's unique key.
   113 // You can un-comment the next line to require database backups to be encrypted using the site's unique key.
   102 // This keeps the file safe in transit, but also prevents any type of editing to the file. This is NOT
   114 // This keeps the file safe in transit, but also prevents any type of editing to the file. This is NOT
   103 // recommended except for tiny sites because encrypting an average of 2MB of data will take a while.
   115 // recommended except for tiny sites because encrypting an average of 2MB of data will take a while.
   104 // define('SQL_BACKUP_CRYPT', '');
   116 // define('SQL_BACKUP_CRYPT', '');