Permalink
Browse files

update extensions

(cherry picked from commit bdc8b8d)
  • Loading branch information...
1 parent a43daf4 commit 91d493ed3c991c72435587af9831a5986ce6909c @cdujeu cdujeu committed Jul 5, 2016
Showing with 69 additions and 67 deletions.
  1. +69 −67 core/src/conf/extensions.conf.php
@@ -26,74 +26,76 @@
defined('AJXP_EXEC') or die( 'Access not allowed');
$RESERVED_EXTENSIONS = array(
- "folder" => array("ajxp_folder", "folder.png", 8),
- "unkown" => array("ajxp_empty", "mime_empty.png", 23)
+ "folder" => array("ajxp_folder", "folder.png", "folder", 8),
+ "unkown" => array("ajxp_empty", "mime_empty.png", "file", 23)
);
$EXTENSIONS = array(
// ALL FILES TYPES
- array("mid", "midi.png", 9),
- array("txt", "txt2.png", 10),
- array("sql","txt2.png", 10),
- array("js","javascript.png", 11),
- array("gif","image.png", 12),
- array("jpg","image.png", 13),
- array("html","html.png", 14),
- array("htm","html.png", 15),
- array("rar","archive.png", 60),
- array("gz","zip.png", 61),
- array("tgz","archive.png", 61),
- array("z","archive.png", 61),
- array("ra","video.png", 16),
- array("ram","video.png", 17),
- array("rm","video.png", 17),
- array("pl","source_pl.png", 18),
- array("zip","zip.png", 19),
- array("wav","sound.png", 20),
- array("php","php.png", 21),
- array("php3","php.png", 22),
- array("phtml","php.png", 22),
- array("exe","exe.png", 50),
- array("bmp","image.png", 56),
- array("png","image.png", 57),
- array("css","css.png", 58),
- array("mp3","sound.png", 59),
- array("m4a","sound.png", 59),
- array("aac","sound.png", 59),
- array("xls","spreadsheet.png", 64),
- array("xlsx","spreadsheet.png", 64),
- array("xlt","spreadsheet.png", 64),
- array("xltx","spreadsheet.png", 64),
- array("ods","spreadsheet.png", 64),
- array("sxc","spreadsheet.png", 64),
- array("csv","spreadsheet.png", 64),
- array("tsv","spreadsheet.png", 64),
- array("doc","word.png", 65),
- array("docx","word.png", 65),
- array("dot","word.png", 65),
- array("dotx","word.png", 65),
- array("odt","word.png", 65),
- array("swx","word.png", 65),
- array("rtf","word.png", 65),
- array("ppt","presentation.png", 446),
- array("pps","presentation.png", 446),
- array("odp","presentation.png", 446),
- array("sxi","presentation.png", 446),
- array("pdf","pdf.png", 79),
- array("mov","video.png", 80),
- array("avi","video.png", 81),
- array("mpg","video.png", 82),
- array("mpeg","video.png", 83),
- array("mp4","video.png", 83),
- array("m4v","video.png", 83),
- array("ogv","video.png", "Video"),
- array("webm","video.png", "Video"),
- array("wmv","video.png", 81),
- array("swf","flash.png", 91),
- array("flv","flash.png", 91),
- array("tiff","image.png", "TIFF"),
- array("tif","image.png", "TIFF"),
- array("svg","image.png", "SVG"),
- array("psd","image.png", "Photoshop"),
- array("ers","horo.png", "Timestamp"),
- array("dwg","dwg.png", "DWG"),
+ array("mid", "midi.png", "file-music", 9),
+ array("txt", "txt2.png", "file-document", 10),
+ array("sql","txt2.png", "file-document", 10),
+ array("js","javascript.png", "language-javascript", 11),
+ array("gif","image.png", "file-image", 12),
+ array("jpg","image.png", "file-image", 13),
+ array("html","html.png", "language-html5", 14),
+ array("htm","html.png", "language-html5", 15),
+ array("rar","archive.png", "archive", 60),
+ array("gz","zip.png", "archive", 61),
+ array("tgz","archive.png", "archive", 61),
+ array("z","archive.png", "archive", 61),
+ array("ra","video.png", "file-video", 16),
+ array("ram","video.png", "file-video", 17),
+ array("rm","video.png", "file-video", 17),
+ array("pl","source_pl.png", "file-xml", 18),
+ array("zip","zip.png", "archive", 19),
+ array("wav","sound.png", "file-music", 20),
+ array("php","php.png", "language-php", 21),
+ array("php3","php.png", "language-php", 22),
+ array("php4","php.png", "language-php", 22),
+ array("phar","php.png", "language-php", 22),
+ array("phtml","php.png", "language-php", 22),
+ array("exe","exe.png", "application", 50),
+ array("bmp","image.png", "file-image", 56),
+ array("png","image.png", "file-image", 57),
+ array("css","css.png", "language-css3", 58),
+ array("mp3","sound.png", "file-music", 59),
+ array("m4a","sound.png", "file-music", 59),
+ array("aac","sound.png", "file-music", 59),
+ array("xls","spreadsheet.png", "file-excel", 64),
+ array("xlsx","spreadsheet.png", "file-excel", 64),
+ array("xlt","spreadsheet.png", "file-excel", 64),
+ array("xltx","spreadsheet.png", "file-excel", 64),
+ array("ods","spreadsheet.png", "file-excel", 64),
+ array("sxc","spreadsheet.png", "file-excel", 64),
+ array("csv","spreadsheet.png", "file-excel", 64),
+ array("tsv","spreadsheet.png", "file-excel", 64),
+ array("doc","word.png", "file-word", 65),
+ array("docx","word.png", "file-word", 65),
+ array("dot","word.png", "file-word", 65),
+ array("dotx","word.png", "file-word", 65),
+ array("odt","word.png", "file-word", 65),
+ array("swx","word.png", "file-word", 65),
+ array("rtf","word.png", "file-word", 65),
+ array("ppt","presentation.png", "file-powerpoint", 446),
+ array("pps","presentation.png", "file-powerpoint", 446),
+ array("odp","presentation.png", "file-powerpoint", 446),
+ array("sxi","presentation.png", "file-powerpoint", 446),
+ array("pdf","pdf.png", "file-pdf", 79),
+ array("mov","video.png", "file-video", 80),
+ array("avi","video.png", "file-video", 81),
+ array("mpg","video.png", "file-video", 82),
+ array("mpeg","video.png", "file-video", 83),
+ array("mp4","video.png", "file-video", 83),
+ array("m4v","video.png", "file-video", 83),
+ array("ogv","video.png", "file-video", "Video"),
+ array("webm","video.png", "file-video", "Video"),
+ array("wmv","video.png", "file-video", 81),
+ array("swf","flash.png", "movie", 91),
+ array("flv","flash.png", "movie", 91),
+ array("tiff","image.png", "file-image", "TIFF"),
+ array("tif","image.png", "file-image", "TIFF"),
+ array("svg","image.png", "file-image", "SVG"),
+ array("psd","image.png", "file-image", "Photoshop"),
+ array("ers","horo.png", "timer", "Timestamp"),
+ array("dwg","dwg.png", "drowing-box", "DWG"),
);

0 comments on commit 91d493e

Please sign in to comment.