equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 |
2 |
3 /* |
3 /* |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
5 * Version 1.0.2 (Coblynau) |
5 * Version 1.1.1 |
6 * Copyright (C) 2006-2007 Dan Fuhry |
6 * Copyright (C) 2006-2007 Dan Fuhry |
7 * constants.php - important defines used Enano-wide |
7 * constants.php - important defines used Enano-wide |
8 * |
8 * |
9 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
9 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
10 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
10 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
68 // Other stuff |
68 // Other stuff |
69 |
69 |
70 define('MAX_PMS_PER_BATCH', 7); // The maximum number of users that users can send PMs to in one go; restriction does not apply to users with mod_misc rights |
70 define('MAX_PMS_PER_BATCH', 7); // The maximum number of users that users can send PMs to in one go; restriction does not apply to users with mod_misc rights |
71 define('SEARCH_RESULTS_PER_PAGE', 10); |
71 define('SEARCH_RESULTS_PER_PAGE', 10); |
72 define('MYSQL_MAX_PACKET_SIZE', 1048576); // 1MB; this is the default in MySQL 4.x I think |
72 define('MYSQL_MAX_PACKET_SIZE', 1048576); // 1MB; this is the default in MySQL 4.x I think |
73 define('SEARCH_MODE', 'FULLTEXT'); // Can be FULLTEXT or BUILTIN |
73 define('SEARCH_MODE', 'BUILTIN'); // Can be FULLTEXT or BUILTIN |
74 |
74 |
75 // Sidebar |
75 // Sidebar |
76 |
76 |
77 define('BLOCK_WIKIFORMAT', 0); |
77 define('BLOCK_WIKIFORMAT', 0); |
78 define('BLOCK_TEMPLATEFORMAT', 1); |
78 define('BLOCK_TEMPLATEFORMAT', 1); |