mirror of
				https://github.com/uklans/cache-domains
				synced 2025-11-04 13:28:51 +01:00 
			
		
		
		
	index page to make configs
This commit is contained in:
		
							parent
							
								
									eaea8c1c57
								
							
						
					
					
						commit
						288d5c6477
					
				
							
								
								
									
										24
									
								
								scripts/index.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								scripts/index.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if (isset($_POST["conf"]) && $_POST["conf"] == "unbound") 
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						require "unbound_conf.php";
 | 
				
			||||||
 | 
						$unbound_conf = new unbound_conf();
 | 
				
			||||||
 | 
						$unbound_conf->print();
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<form action="/steamcache/scripts/" method="post">
 | 
				
			||||||
 | 
							<input type="text" name="ip" placeholder="ip of cache server"><br>
 | 
				
			||||||
 | 
							<input type="radio" name="conf" value="unbound" checked> unbound<br>
 | 
				
			||||||
 | 
							<input type="radio" name="conf" value="other"> Other<br>
 | 
				
			||||||
 | 
							<input type="radio" name="conf" value="other2"> Other2<br>
 | 
				
			||||||
 | 
							<input type="submit" value="Submit">
 | 
				
			||||||
 | 
						</form>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<?php
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					?>
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user