コード例 #1
0
ファイル: test-compatibility.php プロジェクト: rclilly/Revisr
 /**
  * Tests the server_has_exec() method.
  */
 function test_server_has_exec()
 {
     $this->assertEquals('true', Revisr_Compatibility::server_has_exec());
 }
コード例 #2
0
ファイル: help.php プロジェクト: rebekahford/testgcu
</strong></label></td>
			<td>
			<?php 
$os = Revisr_Compatibility::get_os();
echo $os['name'];
?>
			</td>
		</tr>

		<tr>
			<td><label><strong><?php 
_e('Exec() Enabled', 'revisr');
?>
</strong></label></td>
			<td><?php 
echo Revisr_Compatibility::server_has_exec();
?>
</td>
		</tr>

		<tr>
			<td><label><strong><?php 
_e('Git Install Path', 'revisr');
?>
</label></strong></td>
			<td><?php 
echo Revisr_Compatibility::guess_path('git');
?>
</td>
		</tr>