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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98688 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-02-10 21:19:05 +00:00 committed by Sam Minnee
parent c5d6316699
commit b947d13cc8

View File

@ -129,7 +129,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>