mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			20 lines
		
	
	
		
			416 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			416 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
	require_once "lib/security.php";
 | 
						|
	require_once "lib/functions.php";
 | 
						|
	require_once "lib/display.php";
 | 
						|
	if(isset($_REQUEST['cmd'])){
 | 
						|
		$cmd = $_REQUEST['cmd'];
 | 
						|
	}
 | 
						|
	if(isset($_REQUEST['nr'])){
 | 
						|
		$nr = $_REQUEST['nr'];
 | 
						|
	}
 | 
						|
	if(isset($_REQUEST['args'])){
 | 
						|
		$args = $_REQUEST['args'];
 | 
						|
	}
 | 
						|
	#echo "args: $args<br>";
 | 
						|
	$newargs = array();
 | 
						|
	$newargs = explode(" ",$args);
 | 
						|
	$out = docmd($cmd,$nr,$newargs);
 | 
						|
	echo $out;
 | 
						|
?>
 |