コード例 #1
0
$error |= count($propelIni = sfInstall::checkPropelIni()) > 0;
if (isset($propelIni['notWritable'])) {
    ?>
  <div class="messages error">
    <p>
      <?php 
    echo link_to('propel.ini not writable', array('module' => 'sfInstallPlugin', 'action' => 'help'), array('anchor' => 'propel.ini_not_writable'));
    ?>
    </p>
  </div>
<?php 
}
?>

<?php 
$error |= count($memoryLimit = sfInstall::checkMemoryLimit()) > 0;
if (count($memoryLimit) > 0) {
    ?>
  <div class="messages error">
    <p>
      <?php 
    echo link_to('Your current PHP memory limit is ' . $memoryLimit . ' MB which is less than the minimum limit of ' . sfInstall::$MINIMUM_MEMORY_LIMIT_MB . ' MB.', array('module' => 'sfInstallPlugin', 'action' => 'help'), array('anchor' => 'PHP_memory_limit'));
    ?>
    </p>
  </div>
<?php 
}
?>

<?php 
if ($error) {