예제 #1
0
</td>
			</tr>	
			<tr>
				<td>SAPI</td>
				<td><?php 
echo PHP_SAPI;
?>
</td>
			</tr>
			<tr>
				<td><?php 
_e("User", 'duplicator');
?>
</td>
				<td><?php 
echo DUP_Util::GetCurrentUser();
?>
</td>
			</tr>
			<tr>
				<td><a href="http://php.net/manual/en/features.safe-mode.php" target="_blank"><?php 
_e("Safe Mode", 'duplicator');
?>
</a></td>
				<td>
				<?php 
echo strtolower(@ini_get('safe_mode')) == 'on' || strtolower(@ini_get('safe_mode')) == 'yes' || strtolower(@ini_get('safe_mode')) == 'true' || ini_get("safe_mode") == 1 ? __('On', 'duplicator') : __('Off', 'duplicator');
?>
				</td>
			</tr>
			<tr>
echo $dup_tests['SYS-100'];
?>
</div>
			</div>
			<div class="dup-sys-info dup-info-box">
				<?php 
echo "<b>";
_e("Required Paths", 'wpduplicator');
echo ":</b><br/>";
$test = is_writeable(DUPLICATOR_WPROOTPATH) ? 'Pass' : 'Fail';
printf("<b>%s</b> [%s] <br/>", $test, DUPLICATOR_WPROOTPATH);
$test = is_writeable(DUPLICATOR_SSDIR_PATH) ? 'Pass' : 'Fail';
printf("<b>%s</b> [%s] <br/>", $test, DUPLICATOR_SSDIR_PATH);
$test = is_writeable(DUPLICATOR_SSDIR_PATH_TMP) ? 'Pass' : 'Fail';
printf("<b>%s</b> [%s] <br/><br/>", $test, DUPLICATOR_SSDIR_PATH_TMP);
printf("<b>%s:</b> [%s] <br/><br/>", __('PHP Script Owner', 'wpduplicator'), DUP_Util::GetCurrentUser());
_e("The above paths should have permissions of 755 for directories and 644 for files. You can temporarily try 777 if you continue to have issues.  Also be sure to check the owner/group settings.  For more details contact your host or server administrator.", 'wpduplicator');
?>
				<small><?php 
_e('Status Code', 'wpduplicator');
?>
: SYS-100</small>
			</div>				
		</div>

		<!-- SYS-101 -->
		<div class='dup-sys-req'>
			<div class='dup-sys-title'>
				<a><?php 
_e('Reserved Files', 'wpduplicator');
?>