コード例 #1
0
    {
      jQuery('#progress').after(request.responseText);
      progress.setProgress(100, 'Check system');
    } });
EOF
);
?>
<!-- TODO We currently do this logic in the template instead of the action to give the user more immediate feedback, but symfony apparently buffers output and does not start sending it to the user until it is finished being generated : ( -->

<!-- TODO Consider using array keys for wiki anchors -->
<?php 
$error = false;
?>

<?php 
$error |= count($dependencies = sfInstall::checkDependencies()) > 0;
if (isset($dependencies['php']['min'])) {
    ?>
  <div class="messages error">
    <p>
      <?php 
    echo link_to('Minimum PHP version', array('module' => 'sfInstallPlugin', 'action' => 'help'), array('anchor' => 'Minimum_PHP_version'));
    ?>
: <?php 
    echo $dependencies['php']['min'];
    ?>
    </p>
    <p>
      Current version is <?php 
    echo PHP_VERSION;
    ?>