BUGFIX Checkbox for overriding the install from environment now checks for the file existance properly (from r98688)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102792 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-14 03:30:13 +00:00
parent 74a21c6a12
commit 081b05b411

View File

@ -133,7 +133,7 @@
<?php } ?>
<div id="database_credentials" class="section">
<?php if($usingEnv) { ?>
<?php if($envFileExists) { ?>
<div id="use_environment_field" class="field">
<input id="use_environment" type="checkbox" name="useEnv" <?php if($usingEnv) echo "checked=\"checked\"" ?> onclick="toggleDisabledFields(this);">
<label for="use_environment">Use _ss_environment file for configuration</label>