Update file sizes and last modified timestamps in sync cache and add 'ttc' extension to allowed file types

This commit is contained in:
2025-12-17 14:00:11 +01:00
parent 7ef5d33df4
commit 09a1025abd
2 changed files with 7 additions and 7 deletions

View File

@@ -203,20 +203,20 @@
"layout": {
"style.css": {
"type": "-",
"size": 22151,
"lmtime": 1757277842593,
"size": 22678,
"lmtime": 1764150215841,
"modified": false
},
"style.css.map": {
"type": "-",
"size": 39717,
"lmtime": 1757277842593,
"size": 40575,
"lmtime": 1764150215841,
"modified": false
},
"style.scss": {
"type": "-",
"size": 27628,
"lmtime": 1757277842454,
"size": 28194,
"lmtime": 1764150215424,
"modified": false
}
},

View File

@@ -382,7 +382,7 @@ $config = array(
//Allowed extensions (lowercase insert)
//**********************
'ext_img' => array( 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'svg', 'ico', 'webp' ), //Images
'ext_file' => array( 'doc', 'docx', 'rtf', 'pdf', 'xls', 'xlsx', 'txt', 'csv', 'html', 'xhtml', 'psd', 'sql', 'log', 'fla', 'xml', 'ade', 'adp', 'mdb', 'accdb', 'ppt', 'pptx', 'odt', 'ots', 'ott', 'odb', 'odg', 'otp', 'otg', 'odf', 'ods', 'odp', 'css', 'ai', 'kmz','dwg', 'dxf', 'hpgl', 'plt', 'spl', 'step', 'stp', 'iges', 'igs', 'sat', 'cgm', 'tiff',''), //Files
'ext_file' => array( 'doc', 'docx', 'rtf', 'pdf', 'xls', 'xlsx', 'txt', 'csv', 'html', 'xhtml', 'psd', 'sql', 'log', 'fla', 'xml', 'ade', 'adp', 'mdb', 'accdb', 'ppt', 'pptx', 'odt', 'ots', 'ott', 'odb', 'odg', 'otp', 'otg', 'odf', 'ods', 'odp', 'css', 'ai', 'kmz','dwg', 'dxf', 'hpgl', 'plt', 'spl', 'step', 'stp', 'iges', 'igs', 'sat', 'cgm', 'tiff','ttc'), //Files
'ext_video' => array( 'mov', 'mpeg', 'm4v', 'mp4', 'avi', 'mpg', 'wma', "flv", "webm" ), //Video
'ext_music' => array( 'mp3', 'mpga', 'm4a', 'ac3', 'aiff', 'mid', 'ogg', 'wav' ), //Audio
'ext_misc' => array( 'zip', 'rar', 'gz', 'tar', 'iso', 'dmg' ), //Archives