Changeset 253 for trunk/zoo-kernel
- Timestamp:
- Jun 29, 2011, 1:21:51 PM (13 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/main.cfg
r5 r253 6 6 tmpPath=/YourFullTmpPathHere/ 7 7 tmpUrl = ../TmpPathRelativeToServerAdress/ 8 dataPath = /YouFullDataPathHere/ 8 9 9 10 [identification] … … 20 21 positionName=Developer 21 22 role=Dev 22 ad ressDeliveryPoint=1280, avenue des Platanes23 addressDeliveryPoint=1280, avenue des Platanes 23 24 addressCity=Lattes 24 25 addressAdministrativeArea=False -
trunk/zoo-kernel/service.h
r229 r253 124 124 map* tmp=t; 125 125 while(tmp!=NULL){ 126 fprintf(file,"%s = %s\n",t ->name,t->value);126 fprintf(file,"%s = %s\n",tmp->name,tmp->value); 127 127 tmp=tmp->next; 128 128 } -
trunk/zoo-kernel/service_internal.h
r216 r253 57 57 #include <openssl/bio.h> 58 58 #include <openssl/buffer.h> 59 60 #include "cgic.h" 59 61 60 62 extern int getServiceFromFile(const char*,service**); -
trunk/zoo-kernel/zoo_service_loader.c
r216 r253 1812 1812 if(tmpPath==NULL) 1813 1813 tmpPath=getMapFromMaps(m,"main","tmpPath"); 1814 sprintf(session_file_path,"%s/sess_%s.cfg",tmpPath->value,strstr(cgiCookie,"=")+1); 1814 char *tmp1=strtok(cgiCookie,";"); 1815 if(tmp1!=NULL) 1816 sprintf(session_file_path,"%s/sess_%s.cfg",tmpPath->value,strstr(tmp1,"=")+1); 1817 else 1818 sprintf(session_file_path,"%s/sess_%s.cfg",tmpPath->value,strstr(cgiCookie,"=")+1); 1819 1815 1820 maps *tmpSess=(maps*)calloc(1,MAPS_SIZE); 1816 1821 struct stat file_status;
Note: See TracChangeset
for help on using the changeset viewer.