Changeset 1190
- Timestamp:
- 02/17/10 13:16:05 (2 years ago)
- Location:
- trunk/unxsBind
- Files:
-
- 2 modified
-
mainfunc.h (modified) (1 diff)
-
tclientfunc.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/unxsBind/mainfunc.h
r1124 r1190 2236 2236 2237 2237 sprintf(cZoneFile,"/usr/local/idns/named.d/master/%s/%c/%s",field[1],field[0][0],field[0]); 2238 sprintf(gcQuery," named-checkzone %s %s > /dev/null 2>&1",field[0],cZoneFile);2238 sprintf(gcQuery,"/usr/sbin/named-checkzone %s %s > /dev/null 2>&1",field[0],cZoneFile); 2239 2239 2240 2240 if(system(gcQuery)) -
trunk/unxsBind/tclientfunc.h
r1137 r1190 57 57 void htmlRecordContext(void); 58 58 void tClientNavList(void); 59 void BasictClientCheck(void); 60 59 61 60 62 void ExtProcesstClientVars(pentry entries[], int x) … … 135 137 //Validate 136 138 guMode=2000; 139 BasictClientCheck(); 137 140 if(guLoginClient!=1 && uMaxClientsReached(guCompany)) 138 141 { … … 960 963 }//void tClientNavList(void) 961 964 965 966 void BasictClientCheck(void) 967 { 968 if(guMode==2000) 969 { 970 if(uOwner==1) 971 { 972 MYSQL_RES *res; 973 sprintf(gcQuery,"SELECT uClient FROM tClient WHERE cLabel='%s' AND uOwner=1",TextAreaSave(cLabel)); 974 macro_mySQLRunAndStore(res); 975 976 if(mysql_num_rows(res)) 977 { 978 guMode=2000; 979 tClient("<blink>Error: </blink>ASP company with that cLabel already exists."); 980 } 981 } 982 } 983 }//void BasictClientCheck(void) 984
