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

<?php 
$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;