|
852 | 852 | $stmt->execute(); |
853 | 853 | $srv_remark = $stmt->get_result()->fetch_assoc()['remark']; |
854 | 854 | $stmt->close(); |
855 | | - $savedinfo = file_get_contents('temp.txt'); |
| 855 | + $savedinfo = file_get_contents('settings/temp.txt'); |
856 | 856 | $savedinfo = explode('-',$savedinfo); |
857 | 857 | $port = $savedinfo[0]; |
858 | 858 | $last_num = $savedinfo[1]; |
|
912 | 912 | } |
913 | 913 | $stmt->close(); |
914 | 914 | if($portType == "auto"){ |
915 | | - file_put_contents('temp.txt',$port.'-'.$last_num); |
| 915 | + file_put_contents('settings/temp.txt',$port.'-'.$last_num); |
916 | 916 | } |
917 | 917 | sendMessage("☑️|❤️ اکانت های جدید با موفقیت ساخته شد",$mainKeys); |
918 | 918 | setUser(); |
|
1214 | 1214 |
|
1215 | 1215 | $uniqid = generateRandomString(42,$protocol); |
1216 | 1216 |
|
1217 | | - $savedinfo = file_get_contents('temp.txt'); |
| 1217 | + $savedinfo = file_get_contents('settings/temp.txt'); |
1218 | 1218 | $savedinfo = explode('-',$savedinfo); |
1219 | 1219 | $port = $savedinfo[0] + 1; |
1220 | 1220 | $last_num = $savedinfo[1] + 1; |
|
1239 | 1239 | $remark = "{$srv_remark}-{$randadad}"; |
1240 | 1240 |
|
1241 | 1241 | if($portType == "auto"){ |
1242 | | - file_put_contents('temp.txt',$port.'-'.$last_num); |
| 1242 | + file_put_contents('settings/temp.txt',$port.'-'.$last_num); |
1243 | 1243 | }else{ |
1244 | 1244 | $port = rand(12222,65000); |
1245 | 1245 | } |
|
1472 | 1472 |
|
1473 | 1473 | $uniqid = generateRandomString(42,$protocol); |
1474 | 1474 |
|
1475 | | - $savedinfo = file_get_contents('temp.txt'); |
| 1475 | + $savedinfo = file_get_contents('settings/temp.txt'); |
1476 | 1476 | $savedinfo = explode('-',$savedinfo); |
1477 | 1477 | $port = $savedinfo[0] + 1; |
1478 | 1478 | $last_num = $savedinfo[1] + 1; |
|
1496 | 1496 | $remark = "{$srv_remark}-{$randadad}"; |
1497 | 1497 |
|
1498 | 1498 | if($portType == "auto"){ |
1499 | | - file_put_contents('temp.txt',$port.'-'.$last_num); |
| 1499 | + file_put_contents('settings/temp.txt',$port.'-'.$last_num); |
1500 | 1500 | }else{ |
1501 | 1501 | $port = rand(12222,65000); |
1502 | 1502 | } |
|
2290 | 2290 |
|
2291 | 2291 | $uniqid = generateRandomString(42,$protocol); |
2292 | 2292 |
|
2293 | | - $savedinfo = file_get_contents('temp.txt'); |
| 2293 | + $savedinfo = file_get_contents('settings/temp.txt'); |
2294 | 2294 | $savedinfo = explode('-',$savedinfo); |
2295 | 2295 | $port = $savedinfo[0] + 1; |
2296 | 2296 | $last_num = $savedinfo[1] + 1; |
|
2314 | 2314 | $remark = "{$srv_remark}-{$randadad}"; |
2315 | 2315 |
|
2316 | 2316 | if($portType == "auto"){ |
2317 | | - file_put_contents('temp.txt',$port.'-'.$last_num); |
| 2317 | + file_put_contents('settings/temp.txt',$port.'-'.$last_num); |
2318 | 2318 | }else{ |
2319 | 2319 | $port = rand(12222,65000); |
2320 | 2320 | } |
|
0 commit comments