HEX
Server: LiteSpeed
System: Linux 111n6.sieutocviet.page 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User: nhathuocat (1048)
PHP: 7.4.30
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/nhathuocat/public_html/wp-content/plugins/duplicator-pro/debug/tst.tools.php
<?php defined("ABSPATH") or die(""); ?>

<div class="section-tests">
	<div class="section-hdr">TOOLS CTRLS</div>

	<!-- METHOD TEST -->
	<form>
		<?php 
			$CTRL['Title']  = 'DUP_PRO_CTRL_Tools_runScanValidator';
			$CTRL['Action'] = 'DUP_PRO_CTRL_Tools_runScanValidator';
			$CTRL['Test']	= true;
			DUP_PRO_DEBUG_TestSetup($CTRL); 
		?>
		<div class="params">
			<label>Allow Recursion:</label>
			<input type="checkbox" name="scan-recursive" /><br/>
			<label>Search Path:</label> 
			<input type="text" name="scan-path" value="<?php echo esc_attr(duplicator_pro_get_home_path()); ?>" /> <br/>
		</div>
	</form>
	
	<!-- METHOD TEST -->
	<form>
		<?php 
			$CTRL['Title']  = 'DUP_PRO_CTRL_Tools_runScanValidatorFull';
			$CTRL['Action'] = 'DUP_PRO_CTRL_Tools_runScanValidator';
			$CTRL['Test']	= true;
			DUP_PRO_DEBUG_TestSetup($CTRL);
		?>
		<div class="params">
			<label>Recursion:</label> True
			<input type="hidden" name="scan-recursive" value="true" /><br/>
			<label>Search Path:</label> 
			<input type="text" name="scan-path" value="<?php echo esc_attr(duplicator_pro_get_home_path()); ?>" /> <br/>
		</div>
	</form>

</div>