Subversion Repositories eFlore/Applications.cel

Rev

Rev 2131 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2131 Rev 2163
1
;<?/*
1
;<?/*
2
[settings]
2
[settings]
3
; URL de base relative du CEL
3
; URL de base relative du CEL
4
baseURL = "/jrest/"
4
baseURL = "/jrest/"
5
; URL de base relative alternative du CEL (pour les raccourcis par exemple)
5
; URL de base relative alternative du CEL (pour les raccourcis par exemple)
6
baseAlternativeURL = "/service:cel:"
6
baseAlternativeURL = "/service:cel:"
7
; URL de base aboslu du CEL
7
; URL de base aboslu du CEL
8
baseURLAbsolu = "http://localhost/jrest/"
8
baseURLAbsolu = "http://localhost/jrest/"
9
; URL de base aboslu du CEL construit dynamiquement dans le fichier Cel.php
9
; URL de base aboslu du CEL construit dynamiquement dans le fichier Cel.php
10
baseURLAbsoluDyn = ""
10
baseURLAbsoluDyn = ""
11
; Url d'eFlore affichant la carte du CEL
11
; Url d'eFlore affichant la carte du CEL
12
efloreUrlTpl = "http://www.tela-botanica.org/%s-nn-%s"
12
efloreUrlTpl = "http://www.tela-botanica.org/%s-nn-%s"
13
; URL des services web du CEL sous forme de template à utiliser avec sprintf
13
; URL des services web du CEL sous forme de template à utiliser avec sprintf
14
baseURLServicesAnnuaireTpl = "http://www.tela-botanica.org/service:annuaire:%s"
14
baseURLServicesAnnuaireTpl = "http://www.tela-botanica.org/service:annuaire:%s"
15
; URL des services web du CEL sous forme de template à utiliser avec sprintf
15
; URL des services web du CEL sous forme de template à utiliser avec sprintf
16
baseURLServicesCelTpl = "http://www.tela-botanica.org/service:cel:%s"
16
baseURLServicesCelTpl = "http://www.tela-botanica.org/service:cel:%s"
17
; Squelette d'Url permettant d'afficher une image du CEL (remplace %s par l'id de l'image sans underscore)
17
; Squelette d'Url permettant d'afficher une image du CEL (remplace %s par l'id de l'image sans underscore)
18
celImgUrlTpl = "http://api.tela-botanica.org/img:%s.jpg"
18
celImgUrlTpl = "http://api.tela-botanica.org/img:%s.jpg"
19
; Url de PhpMyEdit permettant de faire les corrections du CEL pour les Super Admin
19
; Url de PhpMyEdit permettant de faire les corrections du CEL pour les Super Admin
20
phpEditUrlTpl = "http://www.tela-botanica.org/eflore/cel2/jrest/util/cel_inventory.php?PME_sys_fl=0&PME_sys_fm=0&PME_sys_sfn[0]=0&PME_sys_operation=PME_op_Change&PME_sys_rec=%s"
20
phpEditUrlTpl = "http://www.tela-botanica.org/eflore/cel2/jrest/util/cel_inventory.php?PME_sys_fl=0&PME_sys_fm=0&PME_sys_sfn[0]=0&PME_sys_operation=PME_op_Change&PME_sys_rec=%s"
21
; Indication du nom de l'éditeur pour les flux de syndication
21
; Indication du nom de l'éditeur pour les flux de syndication
22
editeur = "Tela Botanica"
22
editeur = "Tela Botanica"
23
; Format du Guid des observations du CEL pour les flux de syndication principalement
23
; Format du Guid des observations du CEL pour les flux de syndication principalement
24
guidObsTpl = "urn:lsid:tela-botanica.org:cel:obs%s"
24
guidObsTpl = "urn:lsid:tela-botanica.org:cel:obs%s"
25
; Format du Guid des images du CEL pour les flux de syndication principalement
25
; Format du Guid des images du CEL pour les flux de syndication principalement
26
guidImgTpl = "urn:lsid:tela-botanica.org:cel:img%s"
26
guidImgTpl = "urn:lsid:tela-botanica.org:cel:img%s"
27
; Indication de la locale (setLocale(LC_ALL, ?)) pour les classes héritant de Cel
27
; Indication de la locale (setLocale(LC_ALL, ?)) pour les classes héritant de Cel
28
locale = "fr_FR.UTF-8"
28
locale = "fr_FR.UTF-8"
29
; Indication du fuseau horraire par défaut date_default_timezone_set(?)pour les classes héritant de Cel
29
; Indication du fuseau horraire par défaut date_default_timezone_set(?)pour les classes héritant de Cel
30
fuseauHoraire = "Europe/Paris"
30
fuseauHoraire = "Europe/Paris"
31
; template de chemin pour les marqueur google maps pour le widget carto 
31
; template de chemin pour les marqueur google maps pour le widget carto 
32
cheminCelMarkerObsTpl = "/home/telabotap/www/commun/icones/carto/groupe/g%s.png"
32
cheminCelMarkerObsTpl = "/home/telabotap/www/commun/icones/carto/groupe/g%s.png"
33
; URL des services web du CEL sous forme de template à utiliser avec sprintf
33
; URL des services web du CEL sous forme de template à utiliser avec sprintf
34
baseURLServicesCelTpl = "http://localhost/service:cel:%s"
34
baseURLServicesCelTpl = "http://localhost/service:cel:%s"
35
; Squelette d'Url permettant d'afficher une image du CEL (remplace %s par l'id de l'image sans underscore)
35
; Squelette d'Url permettant d'afficher une image du CEL (remplace %s par l'id de l'image sans underscore)
36
celImgUrlTpl = "http://api.tela-botanica.org/img:%s.jpg"
36
celImgUrlTpl = "http://api.tela-botanica.org/img:%s.jpg"
37
; URL des services web du CEL sous forme de template à utiliser avec sprintf
37
; URL des services web du CEL sous forme de template à utiliser avec sprintf
38
baseURLServicesAnnuaireTpl = "http://www.tela-botanica.org/service:annuaire:%s"
38
baseURLServicesAnnuaireTpl = "http://www.tela-botanica.org/service:annuaire:%s"
39
 
-
 
40
; Default
39
 
41
[eflore]
40
[eflore]
42
phptype  = mysqli
41
phptype  = mysqli
43
username = 
42
username = 
44
password = 
43
password = 
45
hostspec = 
44
hostspec = 
46
database = tela_prod_eflore_v1_1_principale
45
database = tela_prod_eflore_v1_1_principale
47
 
46
 
48
api_host = "http://localhost/service:eflore:0.1"
47
api_host = "http://localhost/service:eflore:0.1"
49
url_service_nom = "http://localhost/service:eflore:0.1/{referentiel}/noms"
48
url_service_nom = "http://localhost/service:eflore:0.1/{referentiel}/noms"
50
url_service_taxon = "http://localhost/service:eflore:0.1/bdtfx/taxons"
49
url_service_taxon = "http://localhost/service:eflore:0.1/bdtfx/taxons"
51
url_service_chorologie_obs = "http://localhost/service:eflore:0.1/chorodep/observations"
50
url_service_chorologie_obs = "http://localhost/service:eflore:0.1/chorodep/observations"
52
url_service_chorologie_carte = "http://localhost/service:eflore:0.1/{referentiel_choro}/cartes"
51
url_service_chorologie_carte = "http://localhost/service:eflore:0.1/{referentiel_choro}/cartes"
53
url_service_photoflora = "http://photoflora.free.fr/eflore-photoflora/services/index.php/0.1/projets/photoflora/images"
52
url_service_photoflora = "http://photoflora.free.fr/eflore-photoflora/services/index.php/0.1/projets/photoflora/images"
54
url_service_nom_attribution = "http://localhost/service:eflore:0.1/{referentiel}/noms-vernaculaires/attributions?masque.nt={valeur}&masque.lg={langue}"
53
url_service_nom_attribution = "http://localhost/service:eflore:0.1/{referentiel}/noms-vernaculaires/attributions?masque.nt={valeur}&masque.lg={langue}"
55
 
54
 
56
 
55
 
-
 
56
[referentiels]
-
 
57
; Nom des tables des référentiels avec leur version actuellement utilisé pour récupérer les infos des noms
-
 
58
; ATTENTION : Bien préciser le nom de la base devant le nom de la table !
-
 
59
bdtfx = "tb_eflore.bdtfx_v2_00"
-
 
60
bdtxa = "tb_eflore.bdtxa_v1_01"
-
 
61
isfan = "tb_eflore.isfan_v2013"
-
 
62
apd = "tb_eflore.apd_v3_4_0"
57
; Images
63
 
58
[cel]
64
[cel]
59
chemin_images = /opt/lampp/htdocs/Documents/images_serveur
65
chemin_images = /opt/lampp/htdocs/Documents/images_serveur
60
chemin_export = /opt/lampp/htdocs/Documents/export_images
66
chemin_export = /opt/lampp/htdocs/Documents/export_images
61
chemin_stockage_temp = /home/tmp
67
chemin_stockage_temp = /home/tmp
62
images_temp_url = "http://localhost/tmp/images/%s"
68
images_temp_url = "http://localhost/tmp/images/%s"
63
 
69
 
64
url_images = http://localhost/Documents/images_serveur
70
url_images = http://localhost/Documents/images_serveur
65
url_export = http://localhost/Documents/export_images
71
url_export = http://localhost/Documents/export_images
66
url_service_geo_local = http://www.tela-botanica.org/service:eflore:0.1/osm/nom-commune
72
url_service_geo_local = http://www.tela-botanica.org/service:eflore:0.1/osm/nom-commune
67
url_service_geo_geonames = http://ws.geonames.org/
73
url_service_geo_geonames = http://ws.geonames.org/
68
nom_service_geocoding_geonames = postalCodeSearchJSON
74
nom_service_geocoding_geonames = postalCodeSearchJSON
69
nom_service_reverse_geocoding_geonames = findNearbyJSON
75
nom_service_reverse_geocoding_geonames = findNearbyJSON
70
 
76
 
71
taille_max = 2097152
77
taille_max = 2097152
72
taille_max_archive = 8500000
78
taille_max_archive = 8500000
73
 
79
 
74
format_XS = 150_100
80
format_XS = 150_100
75
format_S = 400_300
81
format_S = 400_300
76
format_CRS = 300_300
82
format_CRS = 300_300
77
format_M = 600_450
83
format_M = 600_450
78
format_L = 800_600
84
format_L = 800_600
79
format_XL = 1024_768
85
format_XL = 1024_768
80
format_X2L = 1280_960  
86
format_X2L = 1280_960  
81
format_X3L = 1600_1200 
87
format_X3L = 1600_1200 
82
format_CRX2S = 63_63
88
format_CRX2S = 63_63
83
format_CS = 300_300
89
format_CS = 300_300
84
format_CXS = 100_100
90
format_CXS = 100_100
85
format_CRXS = 100_100
91
format_CRXS = 100_100
86
 
92
 
87
commande_script_images = "/usr/local/php/5.5/bin/php /home/apitela/www/scripts/cel/cli.php generationimages -a genererMinaturesPourId -id %s &";
93
commande_script_images = "/usr/local/php/5.5/bin/php /home/apitela/www/scripts/cel/cli.php generationimages -a genererMinaturesPourId -id %s &";
88
 
-
 
89
; Stockage
94
 
90
[database_cel]
95
[database_cel]
91
phptype  = mysqli
96
phptype  = mysqli
92
username = 
97
username = 
93
password = 
98
password = 
94
hostspec = localhost
99
hostspec = localhost
95
database = tb_cel
100
database = tb_cel
96
database_migration = tb_cel_migration
101
database_migration = tb_cel_migration
97
 
102
 
98
; Identification
103
; Identification
99
[database_ident]
104
[database_ident]
100
phptype  = mysql
105
phptype  = mysql
101
username = 
106
username = 
102
password = 
107
password = 
103
hostspec = localhost
108
hostspec = localhost
104
database = tela_prod
109
database = tela_prod
105
annuaire = annuaire_tela
110
annuaire = annuaire_tela
106
ann_id = U_MAIL
111
ann_id = U_MAIL
107
ann_pwd = U_PASSWD
112
ann_pwd = U_PASSWD
108
pass_crypt_funct = md5
113
pass_crypt_funct = md5
109
 
-
 
110
; LOGS
114
 
111
[log]
115
[log]
112
cheminlog = "/home/Logs/"
116
cheminlog = "/home/Logs/"
113
timezone = "Europe/Paris"
117
timezone = "Europe/Paris"
114
taillemax = 100000
118
taillemax = 100000
115
 
-
 
116
; ADMIN
119
 
117
[jrest_admin]
120
[jrest_admin]
118
admin = aurelien@tela-botanica.org,david.delon@clapas.net,jpm@tela-botanica.org,marie@tela-botanica.org
121
admin = aurelien@tela-botanica.org,david.delon@clapas.net,jpm@tela-botanica.org,marie@tela-botanica.org
119
ip_autorisees = "localhost,www.tela-botanica.org, api.tela-botanica.org"
122
ip_autorisees = "127.0.0.1,193.54.123.216,193.54.123.169"
120
;*/?>
123
;*/?>