|
1 |
| -<?php |
2 |
| -/* |
3 |
| - * Copyright 2007-2011 Charles du Jeu <contact (at) cdujeu.me> |
4 |
| - * This file is part of AjaXplorer. |
5 |
| - * |
6 |
| - * AjaXplorer is free software: you can redistribute it and/or modify |
7 |
| - * it under the terms of the GNU Affero General Public License as published by |
8 |
| - * the Free Software Foundation, either version 3 of the License, or |
9 |
| - * (at your option) any later version. |
10 |
| - * |
11 |
| - * AjaXplorer is distributed in the hope that it will be useful, |
12 |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
| - * GNU Affero General Public License for more details. |
15 |
| - * |
16 |
| - * You should have received a copy of the GNU Affero General Public License |
17 |
| - * along with AjaXplorer. If not, see <http://www.gnu.org/licenses/>. |
18 |
| - * |
19 |
| - * The latest code can be found at <http://www.ajaxplorer.info/>. |
20 |
| - * |
21 |
| - * Description : configuration file |
22 |
| - * BASIC REPOSITORY CONFIGURATION. |
23 |
| - * The standard repository will point to the data path (ajaxplorer/data by default), folder "files" |
24 |
| - * Use the GUI to add new repositories. |
25 |
| - * + Log in as "admin" and open the "Settings" Repository |
26 |
| - */ |
27 |
| -defined('AJXP_EXEC') or die( 'Access not allowed'); |
28 |
| - |
29 |
| -$REPOSITORIES[0] = array( |
30 |
| - "DISPLAY" => "Default Files", |
31 |
| - "DISPLAY_ID" => 430, |
32 |
| - "DESCRIPTION_ID"=> 475, |
33 |
| - "AJXP_SLUG" => "default", |
34 |
| - "DRIVER" => "ftp", |
35 |
| - "DRIVER_OPTIONS"=> array( |
36 |
| - "FTP_HOST" => "localhost", |
37 |
| - "FTP_PORT" => 21, |
38 |
| - "PATH" => "/", |
39 |
| - "FTP_DIRECT" => true, |
40 |
| - "USE_SESSION_CREDENTIALS" => true, |
41 |
| - //"RECYCLE_BIN" => "recycle_bin", |
42 |
| - "CHMOD_VALUE" => "0600", |
43 |
| - "DEFAULT_RIGHTS"=> "rw", |
44 |
| - "PAGINATION_THRESHOLD" => 500, |
45 |
| - "PAGINATION_NUMBER" => 200, |
46 |
| - "TMP_UPLOAD" => "/tmp" |
47 |
| - ) |
48 |
| -); |
49 |
| - |
50 |
| -// DO NOT REMOVE THIS! |
51 |
| -// SHARE ELEMENTS |
52 |
| -$REPOSITORIES["ajxp_shared"] = array( |
53 |
| - "DISPLAY" => "Shared Elements", |
54 |
| - "DISPLAY_ID" => "467", |
55 |
| - "DRIVER" => "ajxp_shared", |
56 |
| - "DRIVER_OPTIONS"=> array( |
57 |
| - "DEFAULT_RIGHTS" => "rw" |
58 |
| - ) |
59 |
| -); |
60 |
| - |
61 |
| -// ADMIN REPOSITORY |
62 |
| -$REPOSITORIES["ajxp_conf"] = array( |
63 |
| - "DISPLAY" => "Settings", |
64 |
| - "DISPLAY_ID" => "165", |
65 |
| - "DRIVER" => "ajxp_conf", |
66 |
| - "DRIVER_OPTIONS"=> array() |
67 |
| -); |
68 |
| - |
69 |
| -$REPOSITORIES["fs_template"] = array( |
70 |
| - "DISPLAY" => "Sample Template", |
71 |
| - "DISPLAY_ID" => 431, |
72 |
| - "IS_TEMPLATE" => true, |
73 |
| - "DRIVER" => "fs", |
74 |
| - "DRIVER_OPTIONS"=> array( |
75 |
| - "CREATE" => true, |
76 |
| - "RECYCLE_BIN" => 'recycle_bin', |
77 |
| - "CHMOD_VALUE" => '0600', |
78 |
| - "PAGINATION_THRESHOLD" => 500, |
79 |
| - "PAGINATION_NUMBER" => 200, |
80 |
| - "PURGE_AFTER" => 0, |
81 |
| - "CHARSET" => "", |
82 |
| - "META_SOURCES" => array( |
83 |
| - "metastore.serial"=> array( |
84 |
| - "METADATA_FILE" => ".ajxp_meta", |
85 |
| - "METADATA_FILE_LOCATION" => "infolders" |
86 |
| - ), |
87 |
| - "meta.user" => array( |
88 |
| - "meta_fields" => "tags", |
89 |
| - "meta_labels" => "Tags", |
90 |
| - "meta_visibility" => "hidden" |
91 |
| - ), |
92 |
| - "meta.filehasher" => array(), |
93 |
| - "meta.watch" => array(), |
94 |
| - "meta.exif" => array( |
95 |
| - "meta_fields" => "COMPUTED_GPS.GPS_Latitude,COMPUTED_GPS.GPS_Longitude", |
96 |
| - "meta_labels" => "Latitude,Longitude" |
97 |
| - ), |
98 |
| - "index.lucene" => array( |
99 |
| - "index_meta_fields" => "tags" |
100 |
| - ) |
101 |
| - ) |
102 |
| - ), |
103 |
| - |
104 |
| -); |
| 1 | +<?php |
| 2 | +/* |
| 3 | + * Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io> |
| 4 | + * This file is part of Pydio. |
| 5 | + * |
| 6 | + * Pydio is free software: you can redistribute it and/or modify |
| 7 | + * it under the terms of the GNU Affero General Public License as published by |
| 8 | + * the Free Software Foundation, either version 3 of the License, or |
| 9 | + * (at your option) any later version. |
| 10 | + * |
| 11 | + * Pydio is distributed in the hope that it will be useful, |
| 12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | + * GNU Affero General Public License for more details. |
| 15 | + * |
| 16 | + * You should have received a copy of the GNU Affero General Public License |
| 17 | + * along with Pydio. If not, see <http://www.gnu.org/licenses/>. |
| 18 | + * |
| 19 | + * The latest code can be found at <http://pyd.io/>. |
| 20 | + * |
| 21 | + * Description : configuration file |
| 22 | + * BASIC REPOSITORY CONFIGURATION. |
| 23 | + * The standard repository will point to the data path (ajaxplorer/data by default), folder "files" |
| 24 | + * Use the GUI to add new repositories. |
| 25 | + * + Log in as "admin" and open the "Settings" Repository |
| 26 | + */ |
| 27 | +defined('AJXP_EXEC') or die( 'Access not allowed'); |
| 28 | + |
| 29 | +$REPOSITORIES[0] = array( |
| 30 | + "DISPLAY" => "Default Files", |
| 31 | + "DISPLAY_ID" => 430, |
| 32 | + "DESCRIPTION_ID"=> 475, |
| 33 | + "AJXP_SLUG" => "default", |
| 34 | + "DRIVER" => "ftp", |
| 35 | + "DRIVER_OPTIONS"=> array( |
| 36 | + "FTP_HOST" => "localhost", |
| 37 | + "FTP_PORT" => 21, |
| 38 | + "PATH" => "/", |
| 39 | + "FTP_DIRECT" => true, |
| 40 | + "USE_SESSION_CREDENTIALS" => true, |
| 41 | + //"RECYCLE_BIN" => "recycle_bin", |
| 42 | + "CHMOD_VALUE" => "0600", |
| 43 | + "DEFAULT_RIGHTS"=> "rw", |
| 44 | + "PAGINATION_THRESHOLD" => 500, |
| 45 | + "PAGINATION_NUMBER" => 200, |
| 46 | + "TMP_UPLOAD" => "/tmp" |
| 47 | + ) |
| 48 | +); |
| 49 | + |
| 50 | +// DO NOT REMOVE THIS! |
| 51 | +// USER DASHBOARD |
| 52 | +$REPOSITORIES["ajxp_user"] = array( |
| 53 | + "DISPLAY" => "My Dashboard", |
| 54 | + "DISPLAY_ID" => "user_dash.title", |
| 55 | + "DESCRIPTION_ID" => "user_dash.desc", |
| 56 | + "DRIVER" => "ajxp_user", |
| 57 | + "DRIVER_OPTIONS" => array( |
| 58 | + "DEFAULT_RIGHTS" => "rw" |
| 59 | + ) |
| 60 | +); |
| 61 | + |
| 62 | +// ADMIN REPOSITORY |
| 63 | +$REPOSITORIES["ajxp_conf"] = array( |
| 64 | + "DISPLAY" => "Settings", |
| 65 | + "DISPLAY_ID" => "165", |
| 66 | + "DESCRIPTION_ID" => "506", |
| 67 | + "DRIVER" => "ajxp_conf", |
| 68 | + "DRIVER_OPTIONS"=> array() |
| 69 | +); |
| 70 | + |
| 71 | +$REPOSITORIES["fs_template"] = array( |
| 72 | + "DISPLAY" => "Sample Template", |
| 73 | + "DISPLAY_ID" => 431, |
| 74 | + "IS_TEMPLATE" => true, |
| 75 | + "DRIVER" => "fs", |
| 76 | + "DRIVER_OPTIONS"=> array( |
| 77 | + "CREATE" => true, |
| 78 | + "RECYCLE_BIN" => 'recycle_bin', |
| 79 | + "CHMOD_VALUE" => '0600', |
| 80 | + "PAGINATION_THRESHOLD" => 500, |
| 81 | + "PAGINATION_NUMBER" => 200, |
| 82 | + "PURGE_AFTER" => 0, |
| 83 | + "CHARSET" => "", |
| 84 | + "META_SOURCES" => array( |
| 85 | + "metastore.serial"=> array( |
| 86 | + "METADATA_FILE" => ".ajxp_meta", |
| 87 | + "METADATA_FILE_LOCATION" => "infolders" |
| 88 | + ), |
| 89 | + "meta.user" => array( |
| 90 | + "meta_fields" => "tags", |
| 91 | + "meta_labels" => "Tags", |
| 92 | + "meta_visibility" => "hidden" |
| 93 | + ), |
| 94 | + "meta.filehasher" => array(), |
| 95 | + "meta.watch" => array(), |
| 96 | + "meta.exif" => array( |
| 97 | + "meta_fields" => "COMPUTED_GPS.GPS_Latitude,COMPUTED_GPS.GPS_Longitude", |
| 98 | + "meta_labels" => "Latitude,Longitude" |
| 99 | + ), |
| 100 | + "index.lucene" => array( |
| 101 | + "index_meta_fields" => "tags" |
| 102 | + ) |
| 103 | + ) |
| 104 | + ), |
| 105 | + |
| 106 | +); |
0 commit comments