diff options
author | Troy McCormick <extjspoker@gmail.com> | 2011-09-07 18:39:53 +0200 |
---|---|---|
committer | Troy McCormick <extjspoker@gmail.com> | 2011-09-07 18:39:53 +0200 |
commit | 3b3e652827855cf216b6bbf872c9b7c788719823 (patch) | |
tree | d0220e542fe529d9668af20313f20e96d8d8386a /application/views | |
parent | 378d2d77485162390c286321da6f222021ab641d (diff) |
Added environment flag to ensure there is no security risk, per ericbarnes on IRC...
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/welcome_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php index 5faac1c2c..9a0bef847 100644 --- a/application/views/welcome_message.php +++ b/application/views/welcome_message.php @@ -81,7 +81,7 @@ <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p> </div> - <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. CodeIgniter Version <?php echo CI_VERSION; ?></p> + <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php if (ENVIRONMENT == "development") { echo "CodeIgniter Version " . CI_VERSION; } ?></p> </div> </body> |