dini won't check if file exist [+REP]
#2

PHP код:
if(dini_Exists(CurrentMapMeta))
    {
        
format(CurrentMapMeta,166,"EdmMaps/%s/toptimes.txt",MapSRC);
        
printf("default toptimes has been set on %s"MapSRC);
        
dini_Create(CurrentMapMeta);
        
dini_IntSet(CurrentMapMeta"Recorder_1"0);
        
dini_IntSet(CurrentMapMeta"Recorder_2"0);
        
dini_IntSet(CurrentMapMeta"Recorder_3"0);
        
dini_IntSet(CurrentMapMeta"Recorder_4"0);
        
dini_IntSet(CurrentMapMeta"Recorder_5"0);
        
dini_IntSet(CurrentMapMeta"Recorder_6"0);
        
dini_IntSet(CurrentMapMeta"Recorder_7"0);
        
dini_IntSet(CurrentMapMeta"Recorder_8"0);
        
dini_IntSet(CurrentMapMeta"Recorder_9"0);
        
dini_IntSet(CurrentMapMeta"Recorder_10"0);
        
dini_Set(CurrentMapMeta"Recorder_1_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_2_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_3_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_4_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_5_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_6_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_7_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_8_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_9_Name""<N/A>");
        
dini_Set(CurrentMapMeta"Recorder_10_Name""<N/A>");
    } 
you used
PHP код:
if(!dini_Exists(CurrentMapMeta)) 
! = not exist
Reply


Messages In This Thread
dini won't check if file exist [+REP] - by simo0000 - 04.09.2015, 11:09
Re: dini won't check if file exist [+REP] - by jlalt - 04.09.2015, 11:13
Re: dini won't check if file exist [+REP] - by simo0000 - 04.09.2015, 11:23
Re: dini won't check if file exist [+REP] - by simo0000 - 04.09.2015, 12:02

Forum Jump:


Users browsing this thread: