"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/admin/module/config_appearance.php" between
wacko.6.1.18.zip and wacko.6.1.19.zip

About: WackoWiki is a multilingual Wiki-engine that supports WYTIWYG-editing, page rights (ACLs), design themes (skins), file upload, email notification and much more.

config_appearance.php  (wacko.6.1.18):config_appearance.php  (wacko.6.1.19)
skipping to change at line 102 skipping to change at line 102
// 1. check out $data // 1. check out $data
$_data = explode('.', $orig_name); $_data = explode('.', $orig_name);
$ext = $_data[count($_data) - 1]; $ext = $_data[count($_data) - 1];
unset($_data[count($_data) - 1]); unset($_data[count($_data) - 1]);
// 3. extensions // 3. extensions
$ext = strtolower($ext); $ext = strtolower($ext);
$image['favicon'] = ['gif', 'ico' , 'jpeg', 'jpe', 'jpg', 'png', 'svg']; $image['favicon'] = ['gif', 'ico' , 'jpeg', 'jpe', 'jpg', 'png', 'svg'];
$image['logo'] = ['avif', 'gif', 'jpeg', 'jpe', 'jpg', 'jxl', 'png', 'svg', 'webp']; $image['logo'] = $engine::EXT['bitmap'];
// calculate reasonable filesize: Pixels * Bit Depth // calculate reasonable filesize: Pixels * Bit Depth
// - GIF/PNG palette-based images (up to 8-bit) // - GIF/PNG palette-based images (up to 8-bit)
// - Non-palette images (JPEG/PNG/TIFF/SVG) are 0, 8, or 16. // - Non-palette images (JPEG/PNG/TIFF/SVG) are 0, 8, or 16.
$max_size['favicon'] = 64 * 64 * 8; $max_size['favicon'] = 64 * 64 * 8;
$max_size['logo'] = 1024 * 1024 * 2; $max_size['logo'] = 1024 * 1024 * 2;
if (in_array($ext, $image[$file])) if (in_array($ext, $image[$file]))
{ {
if (is_writable(IMAGE_DIR . '/')) if (is_writable(IMAGE_DIR . '/'))
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)