|
3 | 3 | angular.module('FileManagerApp').provider('fileManagerConfig', function() { |
4 | 4 |
|
5 | 5 | var values = { |
6 | | - appName: 'https://github.com/joni2back/angular-filemanager', |
| 6 | + appName: 'angular-filemanager v2', |
7 | 7 | defaultLang: 'en', |
8 | 8 |
|
9 | | - listUrl: 'bridges/php/handler.php', |
10 | | - uploadUrl: 'bridges/php/handler.php', |
11 | | - renameUrl: 'bridges/php/handler.php', |
12 | | - copyUrl: 'bridges/php/handler.php', |
13 | | - moveUrl: 'bridges/php/handler.php', |
14 | | - removeUrl: 'bridges/php/handler.php', |
15 | | - editUrl: 'bridges/php/handler.php', |
16 | | - getContentUrl: 'bridges/php/handler.php', |
17 | | - createFolderUrl: 'bridges/php/handler.php', |
18 | | - downloadFileUrl: 'bridges/php/handler.php', |
19 | | - downloadMultipleUrl: 'bridges/php/handler.php', |
20 | | - compressUrl: 'bridges/php/handler.php', |
21 | | - extractUrl: 'bridges/php/handler.php', |
22 | | - permissionsUrl: 'bridges/php/handler.php', |
| 9 | + listUrl: 'bridges/php/v2/handler.php', |
| 10 | + uploadUrl: 'bridges/php/v2/handler.php', |
| 11 | + renameUrl: 'bridges/php/v2/handler.php', |
| 12 | + copyUrl: 'bridges/php/v2/handler.php', |
| 13 | + moveUrl: 'bridges/php/v2/handler.php', |
| 14 | + removeUrl: 'bridges/php/v2/handler.php', |
| 15 | + editUrl: 'bridges/php/v2/handler.php', |
| 16 | + getContentUrl: 'bridges/php/v2/handler.php', |
| 17 | + createFolderUrl: 'bridges/php/v2/handler.php', |
| 18 | + downloadFileUrl: 'bridges/php/v2/handler.php', |
| 19 | + downloadMultipleUrl: 'bridges/php/v2/handler.php', |
| 20 | + compressUrl: 'bridges/php/v2/handler.php', |
| 21 | + extractUrl: 'bridges/php/v2/handler.php', |
| 22 | + permissionsUrl: 'bridges/php/v2/handler.php', |
23 | 23 |
|
24 | 24 | searchForm: true, |
25 | 25 | sidebar: true, |
|
49 | 49 | compressAsync: false, |
50 | 50 | extractAsync: false, |
51 | 51 |
|
52 | | - isEditableFilePattern: /\.(txt|diff?|patch|asc|cnf|cfg|conf|html?|.html|cfm|cgi|aspx?|ini|pl|py|md|css|cs|js|jsp|log|htaccess|htpasswd|gitignore|gitattributes|env|json|atom|eml|rss|markdown|sql|xml|xslt?|sh|rb|as|bat|cmd|cob|for|ftn|frm|frx|inc|lisp|scm|coffee|php[3-6]?|java|c|cbl|go|h|scala|vb|tmpl|lock|go|yml|yaml|tsv|lst)$/i, |
| 52 | + isEditableFilePattern: /\.(txt|diff?|patch|svg|asc|cnf|cfg|conf|html?|.html|cfm|cgi|aspx?|ini|pl|py|md|css|cs|js|jsp|log|htaccess|htpasswd|gitignore|gitattributes|env|json|atom|eml|rss|markdown|sql|xml|xslt?|sh|rb|as|bat|cmd|cob|for|ftn|frm|frx|inc|lisp|scm|coffee|php[3-6]?|java|c|cbl|go|h|scala|vb|tmpl|lock|go|yml|yaml|tsv|lst)$/i, |
53 | 53 | isImageFilePattern: /\.(jpe?g|gif|bmp|png|svg|tiff?)$/i, |
54 | 54 | isExtractableFilePattern: /\.(gz|tar|rar|g?zip)$/i, |
55 | 55 | tplPath: 'src/templates' |
|
0 commit comments