71 // Other stuff |
71 // Other stuff |
72 |
72 |
73 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 |
73 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 |
74 define('SEARCH_RESULTS_PER_PAGE', 10); |
74 define('SEARCH_RESULTS_PER_PAGE', 10); |
75 define('MYSQL_MAX_PACKET_SIZE', 1048576); // 1MB; this is the default in MySQL 4.x I think |
75 define('MYSQL_MAX_PACKET_SIZE', 1048576); // 1MB; this is the default in MySQL 4.x I think |
|
76 define('ENANO_SUPPORT_AVATARS', 1); |
76 |
77 |
77 // Sidebar |
78 // Sidebar |
78 |
79 |
79 define('BLOCK_WIKIFORMAT', 0); |
80 define('BLOCK_WIKIFORMAT', 0); |
80 define('BLOCK_TEMPLATEFORMAT', 1); |
81 define('BLOCK_TEMPLATEFORMAT', 1); |
458 { |
459 { |
459 $mimetype_exps[$x] = pow(2, $s); |
460 $mimetype_exps[$x] = pow(2, $s); |
460 } |
461 } |
461 |
462 |
462 unset($k, $s, $x); |
463 unset($k, $s, $x); |
|
464 |
|
465 /****************************************************************************** |
|
466 * Global Variable: JPEG_Segment_Names |
|
467 * |
|
468 * Contents: The names of the JPEG segment markers, indexed by their marker number. This data is from the PHP JPEG Metadata Toolkit. Licensed under the GPLv2 or later. |
|
469 * |
|
470 ******************************************************************************/ |
|
471 |
|
472 $GLOBALS[ "JPEG_Segment_Names" ] = array( |
|
473 0xC0 => "SOF0", 0xC1 => "SOF1", 0xC2 => "SOF2", 0xC3 => "SOF4", |
|
474 0xC5 => "SOF5", 0xC6 => "SOF6", 0xC7 => "SOF7", 0xC8 => "JPG", |
|
475 0xC9 => "SOF9", 0xCA => "SOF10", 0xCB => "SOF11", 0xCD => "SOF13", |
|
476 0xCE => "SOF14", 0xCF => "SOF15", |
|
477 0xC4 => "DHT", 0xCC => "DAC", |
|
478 |
|
479 0xD0 => "RST0", 0xD1 => "RST1", 0xD2 => "RST2", 0xD3 => "RST3", |
|
480 0xD4 => "RST4", 0xD5 => "RST5", 0xD6 => "RST6", 0xD7 => "RST7", |
|
481 |
|
482 0xD8 => "SOI", 0xD9 => "EOI", 0xDA => "SOS", 0xDB => "DQT", |
|
483 0xDC => "DNL", 0xDD => "DRI", 0xDE => "DHP", 0xDF => "EXP", |
|
484 |
|
485 0xE0 => "APP0", 0xE1 => "APP1", 0xE2 => "APP2", 0xE3 => "APP3", |
|
486 0xE4 => "APP4", 0xE5 => "APP5", 0xE6 => "APP6", 0xE7 => "APP7", |
|
487 0xE8 => "APP8", 0xE9 => "APP9", 0xEA => "APP10", 0xEB => "APP11", |
|
488 0xEC => "APP12", 0xED => "APP13", 0xEE => "APP14", 0xEF => "APP15", |
|
489 |
|
490 |
|
491 0xF0 => "JPG0", 0xF1 => "JPG1", 0xF2 => "JPG2", 0xF3 => "JPG3", |
|
492 0xF4 => "JPG4", 0xF5 => "JPG5", 0xF6 => "JPG6", 0xF7 => "JPG7", |
|
493 0xF8 => "JPG8", 0xF9 => "JPG9", 0xFA => "JPG10", 0xFB => "JPG11", |
|
494 0xFC => "JPG12", 0xFD => "JPG13", |
|
495 |
|
496 0xFE => "COM", 0x01 => "TEM", 0x02 => "RES", |
|
497 ); |
|
498 |